|
|
|
|
|
by kjksf
757 days ago
|
|
In case you're not just riffing: no, it's not statically linked. The WebViewLoader.dll is embedded in the source code and then loaded into memory as if it was loaded via LoadLibrary() or by Windows .exe loader which loads referenced .dll automatically. Granted, he re-implemented LoadLibrary() to load from memory, which can potentially break if Microsoft changes the details of how LoadLibrary() is implemented. This is one of my pet peeves with Microsoft API design. LoadLibrary() only works with files from disk. It should be implemented as a trivial wrapper around LoadLibraryFromMemory() but Microsoft didn't implement LoadLibraryFromMemory so we have to resort to re-implementing LoadLibrary when we want this very useful functionality. |
|