Dll offload ordering on Unix and Windows

I have 2 dlls: A and B.

From code in dll A, I load dll B dynamically (using dlopen on Unix and LoadLibrary on Windows). Is B guaranteed to be unloaded to A?

Is there a difference between Unix and Windows behavior?

+1


a source to share


1 answer


There is no guarantee as to which DLL will be unloaded first (Unix and WIndows are no different at this point).



+1


a source







All Articles