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.
@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.
-
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. -
Thank you all for your patient help.
I'm putting QT on the backburner for now.
Too bad. Such a nice environment.