For example, if you have a simple managed console application and a simple unmanaged C ++ DLL. You pInvoke into a function in a C ++ DLL, does the DLL load into an unmanaged process until this process disappears? Or is the DLL unloaded at the end of each pInvoke call?
source share