fancycode / MemoryModule

Library to load a DLL from memory.
http://www.joachim-bauch.de/tutorials/loading-a-dll-from-memory/
Mozilla Public License 2.0
2.74k stars 750 forks source link

The function internal static variable does not work #73

Closed halx99 closed 6 years ago

halx99 commented 6 years ago

In the dll CString getAppPath() { static CString path = L"D:\test\dir0" return path; }

then if load the dll from memory and call the function, the result will be a invalid object.

halx99 commented 6 years ago

same as: https://github.com/fancycode/MemoryModule/issues/31