Results 1 to 2 of 2

Thread: Delay DLL loading ?

  1. #1
    Join Date
    Jun 2008
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Delay DLL loading ?

    Hi,

    I have this very annoying message "Qt: Could not initialize OLE (error 80010106)" that I have been trying to get rid off forever. I searched everywhere for a solution for this problem but I can't fixing and I am banging my head against the wall at the moment. It happens because I am using opencv with qt and apprently the opencv "highgui110.dll" is being loaded before the qt dlls causing this annoying message to appear. I searched for the meaning of this error and it's about the inability to change the priority of a thread once it starts. The closest I've been to a solution is if I move "highgui110.dll" from the local folder to another folder that is in the PATH then I don't get this error. So it seems that by doing that I am delaying its loading, is there any way of doing it by delay load linking or whatever .... ? I am using mingw32 by the way so I can't use the /delayload flag used in MS compiler.

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

    Default Re: Delay DLL loading ?

    The only way I know of is to not link against the library but instead load it dynamically using QLibrary and then resolve all the symbols manually. Apart from that I'm afraid it will be easier to solve the problem if you look at some specialized Win32 or MinGW forum.
    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. Qt Creator - Delay of whole GUI
    By @nubis in forum Qt Tools
    Replies: 2
    Last Post: 16th August 2009, 23:24
  2. Delay in loading qt widgets
    By pinakis in forum Qt Programming
    Replies: 1
    Last Post: 3rd June 2009, 06:56
  3. QSplashScreen loading icon
    By talk2amulya in forum Qt Programming
    Replies: 7
    Last Post: 16th February 2009, 09:46
  4. Replies: 1
    Last Post: 28th August 2008, 21:18
  5. QSA: loading scripts at runtime
    By seneca in forum Qt Programming
    Replies: 0
    Last Post: 15th February 2006, 15:19

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.