Search found 202 matches

by Paul Cerkez
3 Aug 2009 23:52
Forum: Visual Prolog
Topic: VPI Picture
Replies: 21
Views: 8113

Thomas, In regards to this earlier discussion.... what kicks the garbage collector in and when does it recover memory? I've tried including it in my code but no joy. in my BMP generation application, as soon as I hit 9941 images, the application crashes. This equates to 1.9G worth of files. as the a...
by Paul Cerkez
1 Apr 2008 0:39
Forum: Visual Prolog
Topic: VPI Picture
Replies: 21
Views: 8113

from my code: what I do is create a class fact (single) to holds the handle of the pict canvas. class facts picWin : pictureCanvas := erroneous. then after each save, I simply re-run the predicate that does the drawing. drawGraphic(...):- ... controlRCT = rct(...), picWin := pictureCanvas::new(X,Y),...
by Paul Cerkez
31 Mar 2008 12:25
Forum: Visual Prolog
Topic: VPI Picture
Replies: 21
Views: 8113

unfortunately I am work right now and my code for this is at home but I have had my project tool create hundreds of pictures and save them with no problems. I haven't looked at that partiular code in months but I don't think I recreate the DC everytime, I think I use the existing one, clear the curr...
by Paul Cerkez
30 Mar 2008 21:27
Forum: Visual Prolog
Topic: VPI Picture
Replies: 21
Views: 8113

vjoer, when you invoked vpi::pictdestroy() there is nothing left to draw on. you have removed the handle to the device context. (note that htis also an obsolete predicate and now does nothing in VIP 7.1 and I am not sure how many releases back) you will either need to do your drawing BEFORE you dele...
by Paul Cerkez
3 May 2007 2:22
Forum: Visual Prolog Tips & Samples
Topic: Custom Buttons & custom Labels - updated 1.4
Replies: 16
Views: 31235

Gildas, very interesting. I was looking at doing something similar. Looks like you beat me to it. Back in he PDC 4.x days, I used a 3rd Party tool called WinWidgets to do the same thing. I got the idea to create a VIP version of the WinWidgets-like capabilities. one capability that I was really inte...
by Paul Cerkez
12 Nov 2006 2:20
Forum: Visual Prolog
Topic: touch sensitive screen
Replies: 9
Views: 3428

I'm not sure if this is what you are referring to, but I use a SmartBoard (r) on a regluar basis with my VIP application. It makes it easy to teach classes interactively and to work as a group doing certain projects. I use the SmartBoard as a touch screen and can run my entire application from end-t...