Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cloning my hard drive
Message
De
24/01/2017 04:32:57
Al Doman (En ligne)
M3 Enterprises Inc.
North Vancouver, Colombie Britannique, Canada
 
 
À
24/01/2017 03:58:14
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Hardware
Catégorie:
Autre
Divers
Thread ID:
01646878
Message ID:
01646979
Vues:
31
>>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.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform