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 1.6k 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.
  • S SGaist
    29 Apr 2021, 18:31

    Hi,

    Did you implement @JonB´s suggestion ?

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

    R Offline
    R Offline
    RogerBreton
    wrote on 29 Apr 2021, 19:11 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
    • R Offline
      R Offline
      RogerBreton
      wrote on 29 Apr 2021, 20:03 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
      • R Offline
        R Offline
        RogerBreton
        wrote on 29 Apr 2021, 23:31 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

        21/23

        29 Apr 2021, 19:11

        • Login

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