Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Memory leaks / API-calls
Message
De
06/03/2018 14:45:56
 
 
À
06/03/2018 14:05:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Application:
Desktop
Divers
Thread ID:
01658554
Message ID:
01658575
Vues:
100
Hi/Bonjour Yousfi,

Thanks a lot for pointing out the source for this code.

That was lost in my memory ... - Yep, clearly that was a partial rewrite of the _system.vcx rewritten as a prg-based class. Not a lot a differences between both since it's mostly a copy. I just changed some presentation elements. But as with the prg version, the class does leak as well on my current W10 workstation here.

Try this - well slightly over 2 MB of memory lost for 100 dialog display here on an oldish plain vanilla thinkpad! Not a lot for sure but that's a leak:-(
m.o=newObject("_comdlg",home(1)+"ffc\_system.vcx")
FOR i = 1 TO 100
	o.showdialog()
ENDFOR
Daniel
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform