Do you use __declspec(dllexport)
to export functions from DLL? If yes, use .def
file instead. Because __declspec(dllexport)
will make the function name in export descriptor of DLL to have underscore precede; Or mangling function name if your function is C++.
The last time I used Win32::API
, its does not support __cdecl
. You should change it to __stdcall
instead.