Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to avoid repeated execution of loading Qlibrary?
Forum Updated to NodeBB v4.3 + New Features

How to avoid repeated execution of loading Qlibrary?

Scheduled Pinned Locked Moved Unsolved General and Desktop
23 Posts 5 Posters 2.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • SGaistS SGaist

    Hi,

    Did you implement @JonB´s suggestion ?

    Start in debug and you should see exactly where it fails.

    RogerBretonR Offline
    RogerBretonR Offline
    RogerBreton
    wrote on last edited by
    #21

    @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.

    Roger Breton
    www.graxx.ca

    1 Reply Last reply
    0
    • RogerBretonR Offline
      RogerBretonR Offline
      RogerBreton
      wrote on last edited by
      #22

      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.

      Roger Breton
      www.graxx.ca

      1 Reply Last reply
      0
      • RogerBretonR Offline
        RogerBretonR Offline
        RogerBreton
        wrote on last edited by
        #23

        Thank you all for your patient help.
        I'm putting QT on the backburner for now.
        Too bad. Such a nice environment.

        Roger Breton
        www.graxx.ca

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved