Read and respond to this message at:
I have a third-party DLL and corresponding header files, but I'm having a hard
time using them.
A function is declared
__declspec(dllimport) long __stdcall mpCreate(long);
The .dll does not define mpCreate@..., only mpCreate. Even when I add
Wl,--enable-stdcall-fixup, I still get an undefined reference
Simply adding mpCreate@... to the .def file (created with pexports), results in
an executable that does not link at runtime. Changing the prototype to __cdecl
results in a crash at runtime (somewhat expected). Is there another workaround?
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
Get latest updates about Open Source Projects, Conferences and News.