Results 1 to 4 of 4

Thread: QLibrary Resolve Multiple Users

  1. #1
    Join Date
    Aug 2011
    Location
    The Internet
    Posts
    29
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QLibrary Resolve Multiple Users

    Hello,

    I am using QT 4.7 with Windows and having an issue with QLibrary. I can bring up my application and resolve all the entry points I'm trying to enter into with QLibrary with no problem. I will then log off the machine and then another user will attempt to bring up that same application. They will end up getting NULL or 0 when they try to resolve the QLibrary points. The only fix is for the machine to be restarted at this point. Ideas?

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: QLibrary Resolve Multiple Users

    Some options

    The libraries are not in a system directory and the user's PATH environment variables are different. The second user's process cannot find the DLL to load.

    The second user's process can find but does not have permission to read or open the DLLs concerned

  3. #3
    Join Date
    Aug 2011
    Location
    The Internet
    Posts
    29
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QLibrary Resolve Multiple Users

    those are the two things i'm investigating. Is it possible that somehow that first user is creating system level processes/threads that only gets "resolved" by rebooting? I have ruled out the environment issue

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QLibrary Resolve Multiple Users

    In normal conditions a library can be loaded by more than one process at the same time. Otherwise it wouldn't be possible to run two Qt applications concurrently as each application loads a bunch of plugins at startup using QLibrary.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. How to resolve QLibrary issue
    By lni in forum Qt Programming
    Replies: 3
    Last Post: 28th August 2014, 21:24
  2. How to present a Qt GUI app window to users???
    By wshn13 in forum Qt Programming
    Replies: 4
    Last Post: 29th August 2011, 09:34
  3. QLibrary::resolve() crash on return
    By gib in forum Qt Programming
    Replies: 3
    Last Post: 29th March 2010, 09:06
  4. QLibrary resolve problem
    By Nippler in forum Qt Programming
    Replies: 0
    Last Post: 4th December 2008, 15:37

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.