W
Wild Wind
Hello,
I am developing a managed c++ library which loads a
regular win32 dll. The library will be used
by .NET consumers.
Am I correct in saying that the win32 dll will
not be unloaded until the garbage collector
destroys the mc++ library that loaded it
in the first place? And does this means that to
unload the library, I should call the Dispose
method of the library to free resources?
Do I need to put special code in this Dispose
method, or will it be all right just to rely
on the default code?
TIA,
I am developing a managed c++ library which loads a
regular win32 dll. The library will be used
by .NET consumers.
Am I correct in saying that the win32 dll will
not be unloaded until the garbage collector
destroys the mc++ library that loaded it
in the first place? And does this means that to
unload the library, I should call the Dispose
method of the library to free resources?
Do I need to put special code in this Dispose
method, or will it be all right just to rely
on the default code?
TIA,