4 ms·
Seems an interesting question, I googled for it and found a StackOverflow discussion... Just.. Wow. The ignorance of people is shocking. Some guy even said tha
by worewood 2y ago
Seems an interesting question, I googled for it and found a StackOverflow discussion...
Just.. Wow. The ignorance of people is shocking. Some guy even said that it's not possible because a DLL can contain an entry point which is called when the DLL is loaded and a static library has no such thing... well nothing prevents me from manually calling such entry point from my main function. At the end it's all executable code, and it's absolutely possible to relocate some addresses and repackage the code as a static library. It's just that no one with the knowledge had a need to do it.