O
Ori Calvo
Hello All,
I am using DllImport attribute to do some work againt an unmanaged dll.
The unmanaged DLL is written that way that when calling one method a global
variable is updated so when calling an another function inside the DLL the
same global variable is used to apply some work. My question is as follow:
Does the DLL remain loaded after calling a function inside it or might the
CLR unload the DLL just after calling the exported function so all globals
variables state is lost?
Thanks, Ori
I am using DllImport attribute to do some work againt an unmanaged dll.
The unmanaged DLL is written that way that when calling one method a global
variable is updated so when calling an another function inside the DLL the
same global variable is used to apply some work. My question is as follow:
Does the DLL remain loaded after calling a function inside it or might the
CLR unload the DLL just after calling the exported function so all globals
variables state is lost?
Thanks, Ori