How to avoid repeated execution of loading Qlibrary?
-
Hi,
Did you implement @JonB´s suggestion ?
Start in debug and you should see exactly where it fails.
wrote on 29 Apr 2021, 19:11 last edited by@SGaist That is exactly what I do :
I found the culprit...
DEVICE_ERROR_TYPES sdkError = RB_RegisterDeviceEventHandler(EventNotice);
The above function is a static member function declared in SomeClassName... which was working fine before ... The EventNotice function is also part of the same class.
-
wrote on 29 Apr 2021, 20:03 last edited by
For some reason (?), the EventNotice "address" is garbage :
EventNotice 2372415452829272149 void (DEVICE_eEventCode, uint32_km, DEVICE_ERROR_TYPES)
It should be a proper address like 0x00007ff739a21970.
I tried restarting QT Creator many times to no avail. -
wrote on 29 Apr 2021, 23:31 last edited by
Thank you all for your patient help.
I'm putting QT on the backburner for now.
Too bad. Such a nice environment.
21/23