3 ms·
Windows DLL's don't have features such as the executable overriding symbols in the attached library. In fact, if you call LoadLibrary at runtime, there is no s
by kazinator 12y ago
Windows DLL's don't have features such as the executable overriding symbols in the attached library.
In fact, if you call LoadLibrary at runtime, there is no symbol resolution; you have to look up symbols yourself using GetProcAddress.
Under dlopen, symbol resolution takes place; it can change the destinations of function calls.
- userbinator 12y agoUnder dlopen, symbol resolution takes place; it can change the destinations of function calls. I'm probably a bit biased since I'm rather used to Windows' explicit import-export system, but having function calls change just because a library was loaded sounds like an opportunity for some extremely confusing bugs.