Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cloning my hard drive
Message
From
24/01/2017 05:55:33
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
24/01/2017 04:32:57
General information
Forum:
Hardware
Category:
Other
Miscellaneous
Thread ID:
01646878
Message ID:
01646980
Views:
28
>>>ISTR there was some command that needed to be run when putting image files in reports on the fly, so that the correct image would actually appear for each detail band rather than just the first image loaded being cached and repeated endlessly. Ah - remembered it - CLEAR RESOURCES. If it turns out to be a GDI resource issue you might want to issue that command before/after loading each new image.
>>
>>Actually no, I stopped the GDI and am using a simple image control with
>>
>>
	lcpic=Filetostr(lcFullp)
>>	loFrm.img.PictureVal=lcpic
>>	Release lcpic
>>
>>At some point the GDI was too unwieldy, had too many errors with various .png encodings and I abandoned it. Went for the simplest instead.
>
>My limited understanding is using images at all in VFP causes them to be cached and to thereby use up GDI resources (don't need to process them via GDI for this to occur (?)).
>
>Might be interesting to preface your code above with CLEAR RESOURCES, see if it makes any difference.

Testing as we speak. Just to note that the memory consumption was flipping between 18 and 20 M when it launched. But then I don't remember what it used to be - should perhaps run the old version for a while. Last I remember it displayed about 40000 images before I stopped it, and then the next day the system was unstable. We'll see. I'll run this to a similar number and see what happens.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform