
Enumerating resources - memory leak
I think you will need to use GlobalAlloc() and GlobalFree() to allocate and
release memory for the returned data.
Rob Agnew
TeamSoft Pty Ltd
http://www.teamsoft.com.au
Quote:
>How do I unload the functions from the memory. Every time I am enumerating
>network resources ( WNetOpenEnum) the app keeps about 50K loaded in the
>memory. How do I unload it after I am done with it? WNetCloseEnum does
>not do that...
>Thank you
>Vladimir