I need to use a third party .lib / .dll file (probably compiled in Visual Studio) with my project in Eclipse CDT using MinGW.
I can dynamically link with the 32-bit version (using 32-bit MinGW) successfully but not with the 64-bit version (using 64-bit MinGW). When I run the 64-bit version, it crashes when invoking the third party function.
Is there something different that I need to do to get 64-bit working?
Thanks,
Alan
The solution for me was to link against the 32-bit .lib file for 32-bit builds and the 64-bit .dll file for 64-bit builds.
I’m still not sure where the inconsistency comes from, so any comments are welcome.
Alan