2021-10-26 04:25 PM
I am using ST25R3911DISCOComm.dll and the lib in a QT application. Using MSVC 2019 32-bit configuration I am able to get my application running using the 'Debug' sub-configuration only. If I use the 'Release' the application crashes immediately. My suspicion is that this is due to the DLL. Is this correct? Can you point me in the right direction so that I can compile for 'Release' target?
Also it would be very helpful if you could add a library for 64-bit targets.
Solved! Go to Solution.
2021-11-02 10:23 AM
Hello. Thanks for your reply. I figured out the issue.
I was pointing to the install directory where the *.lib and *.dll were residing from QT. There are also bunch of other DLLs in that directory. When I isolated the DLL in its own directory the problem went away. I am not exactly sure why, but this fixed the problem for me.
2021-10-28 06:35 AM
Sorry for this problem. Could you provide me the software version of Disco3911 application available in Help->About menu.
The dll is delivered in 'release' version and should work with 'debug" and 'release' configuration of the dllDemo application.
Concerning the 64-bits targets, unfortunately there is no plan to do that for the moment
Regards
2021-10-29 11:04 AM
The software version is 1.2.12.0.
I may definitely be doing something wrong, but I was able to verify the crash went away in release build by just removing a few lines of code using the resources and the linking directive in the *.pro file. The fact that it does not crash with debug mode does not help with debugging at all either. I looked to see if there is anything that could be of value in the debug output, but nothing stood out. If you could help with this issue it would be a great help. Otherwise I need to figure out a way to create installers with the debug build just to accommodate this demo board.
2021-11-02 02:58 AM
So your version is up to date. I there is no confidential issue, could you please zip me your project for trying to debug it in my side ? This dll should be able to work properly in release & debug mode and if not I need to fix it.
2021-11-02 10:23 AM
Hello. Thanks for your reply. I figured out the issue.
I was pointing to the install directory where the *.lib and *.dll were residing from QT. There are also bunch of other DLLs in that directory. When I isolated the DLL in its own directory the problem went away. I am not exactly sure why, but this fixed the problem for me.
2021-11-03 01:01 AM
Ok, Happy to ear that your problem is solved. Don't hesitate if you have another problem.
Regards