Home > Software engineering >  VS2019 compiled DLL export functions they changed
VS2019 compiled DLL export functions they changed

Time:01-29

Use vs2019, wrote a simple DLL, choose x64 target platform, the DLL is normal, conform to the requirements, if choose target platform for x86, gets the DLL cannot be used, the dumpbin view, discovered the name of all exported functions, such as is Initial was to _Initial00 originally, but I compiled is the same project, just choose target platform, and also has set forth the export function extern "C" __declspec (dllexport) int __stdcall Initial ();
Excuse me, is what reason, how to solve?

CodePudding user response:

With the depends check for

  • Related