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?
There is no guarantee as to which DLL will be unloaded first (Unix and WIndows are no different at this point).