https://bugs.winehq.org/show_bug.cgi?id=53781
--- Comment #6 from Janne janne.kekkonen@gmail.com --- I pulled commit and compiled wine.
I copied newly created cfgmgr32.dll to syswow64 folder. My test program fails in GetProcAddress. GetLastError gives errorcode 127.
After this i made another test program which uses renamed dll that is located in same folder than exe is. In this case function works.
In both programs LoadLibrary seems to load dll into memory.
Difference in my test programs are these two rows:
Doesent work: HMODULE dll = LoadLibrary("cfgmgr32.dll");
Works: HMODULE dll = LoadLibrary("cfgmgr32_wine.dll");
I'll attach both test programs.