Search found 9 matches

by altur
24 Sep 2020 8:19
Forum: Visual Prolog
Topic: old VIP versions
Replies: 4
Views: 2039

Re: old VIP versions

I will explain the reason for the question. I am already an elderly person and have neither the time nor the desire to master new versions of Windows. I am working on an old Windows XP computer. For my creative tasks I use Prolog, starting with turbo Prolog, VIP5.2PE, Vip7.2PE. Now I needed some of ...
by altur
23 Sep 2020 17:09
Forum: Visual Prolog
Topic: old VIP versions
Replies: 4
Views: 2039

old VIP versions

Please explain why you don't sell old VIP versions (eg VIP7.5CE)? Do you have some kind of commitment to Microsoft, or is there some other reason?
by altur
10 Oct 2014 7:24
Forum: Visual Prolog
Topic: Error Exception: vpi_UnablePictureCreate (vpi) in VP75
Replies: 13
Views: 7172

Thank you for your teaching. When I organized the loop in my sample program as you recommended, the mentioned error not appeared even with hundreds of objects. But the access to menu I could get only with processEvent() predicate. It was not founded the predicate updateSystem() in VP7.5, only predic...
by altur
8 Oct 2014 5:22
Forum: Visual Prolog
Topic: Error Exception: vpi_UnablePictureCreate (vpi) in VP75
Replies: 13
Views: 7172

loop repeat->system changing-> vpiProcessEvents
Here "system changing" I imply as selforganization of system without intervention of user.
by altur
7 Oct 2014 16:02
Forum: Visual Prolog
Topic: Error Exception: vpi_UnablePictureCreate (vpi) in VP75
Replies: 13
Views: 7172

Thank you, it is very important for me to have some primitives, examples, thats were so many in help to old Prologs, and not enough in VP7.x! I try to change my code according to your advices, but some things remain unclear. implement myform inherits formWindow open core, vpiDomains class facts swit...
by altur
6 Oct 2014 15:51
Forum: Visual Prolog
Topic: Error Exception: vpi_UnablePictureCreate (vpi) in VP75
Replies: 13
Views: 7172

In the paint listener you draw directly in the window, but outside the paint you also draw (that is where you use the picture canvas) Furthermore, your loop will use all available processor power on drawing (even if nothing have happened)... Also the construction with calling vpiProcessEvents seems...
by altur
5 Oct 2014 11:31
Forum: Visual Prolog
Topic: Error Exception: vpi_UnablePictureCreate (vpi) in VP75
Replies: 13
Views: 7172

When I try add attachment it is appeared
Upload Error: Could not upload Attachment to ./files/buf_75_166.zip
What to do?
by altur
5 Oct 2014 9:43
Forum: Visual Prolog
Topic: Error Exception: vpi_UnablePictureCreate (vpi) in VP75
Replies: 13
Views: 7172

I can't add attachment. So set main code: class circle : circle open core predicates getCreatedObjects:(circle*) procedure (o). setCreatedObjects:(circle*) procedure (i). draw_circlist:(windowGDI). end class circle interface circle open core,vpiDomains domains coor=pnt. numCircle=integer. properties...
by altur
5 Oct 2014 9:36
Forum: Visual Prolog
Topic: Error Exception: vpi_UnablePictureCreate (vpi) in VP75
Replies: 13
Views: 7172

Error Exception: vpi_UnablePictureCreate (vpi) in VP75

There are arbitrary number of objects with their coordinates in program. After some actions the objects positions change and it is displayed on screen. To avoid of flickering I use pictureCanvas for drawing. The simplest model is here (buf_75m.zip). By input of big number of objects (more then 100) ...