Unsolved linker crash while accessing DLL functions in QT5 @Windows
-
when trying to access DLL functions in my QT application.
e.g
result = CAN_Initialize(PCAN_USBBUS1, PCAN_BAUD_250K);
it is giving me error
The program has unexpectedly finished.
C:\myDevelopment\build-PcanPortLinker-Desktop_Qt_5_5_0_MinGW_32bit-Debug\debug\PcanPortLinker.exe crashedfollowing warnings in compile output
Warning: resolving _CAN_Initialize@20 by linking to _CAN_Initialize
Use --enable-stdcall-fixup to disable these warnings
Use --disable-stdcall-fixup to disable these fixups
Warning: resolving _CAN_GetErrorText@12 by linking to _CAN_GetErrorTextAny suggestion OR help to deal with this issue??
-
Hi and welcome to devnet,
Can that DLL be found by the application ?
If not, then go to the Run part of the Project panel and add the path to the folder containing it to the PATH environment variable.