x64 DLL export function names
问题 I am trying to port a 32-bit dll (and application) to 64-bit and I have managed to build it without errors. When trying to load it with my 64-bit application I noticed that the exported function names differ. This is how I export the functions: #ifdef __cplusplus extern "C" { #endif __declspec(dllexport) long __stdcall Connect(char * name, long size); #ifdef __cplusplus } #endif In Dependency Walker the exported functions have the following format: 32-bit: _Connect@8 64-bit: Connect In the