Click to See Complete Forum and Search --> : ATL - freeing memory


Eran Kariti
March 30th, 1999, 04:25 AM
We use 'CoCreateInstance' to create the object, and '->Release()' to release it.


The DLL is still in memory, and we want it to free itself.


Thanks,

Dieter Gollwitzer
March 30th, 1999, 05:39 AM
Call CoFreeUnusedLibraries()

gus8971
June 8th, 2001, 02:54 PM
Check the count returned by release in debug I bet it isn't 0