>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
Just wondering, what is the advantage of that code compared with GetFile()?
Christian Isberner
Software Consultant