Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memory leaks / API-calls
Message
From
06/03/2018 14:45:56
 
 
To
06/03/2018 14:05:18
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Application:
Desktop
Miscellaneous
Thread ID:
01658554
Message ID:
01658575
Views:
101
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform