Results 1 to 6 of 6

Thread: QLibrary::load: The specified module could not be found

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2011
    Posts
    354
    Thanks
    17
    Thanked 27 Times in 24 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Windows

    Default QLibrary::load: The specified module could not be found

    Hello. I am using QLibrary to load a dll file on Windows 7 x64, but it fails with the error message "The specified module could not be found". WinAPI function LoadLibrary also fails, however, I can load it with
    Qt Code:
    1. LoadLibraryEx("C:\\Program Files (x86)\\VideoLAN\\VLC\\libvlc.dll", NULL, LOAD_WITH_ALTERED_SEARCH_PATH)
    To copy to clipboard, switch view to plain text mode 
    so the problem is somehow related to the search strategy specified with LOAD_WITH_ALTERED_SEARCH_PATH flag. I'd like my code to be cross-platform, so I am trying to use Qt instead of WinAPI, but how can I make it work with QLibrary?
    Last edited by mentalmushroom; 27th September 2011 at 11:18. Reason: LoadLibrary => LoadLibraryEx

Similar Threads

  1. Replies: 32
    Last Post: 25th August 2012, 23:10
  2. Replies: 1
    Last Post: 18th December 2010, 11:05
  3. QMYSQL: The specified module could not be found
    By jonny_wonny in forum Qt Programming
    Replies: 0
    Last Post: 22nd November 2009, 01:28
  4. Replies: 4
    Last Post: 7th March 2006, 08:52
  5. Qlibrary
    By rianquinn in forum Qt Programming
    Replies: 5
    Last Post: 4th February 2006, 12:23

Tags for this Thread

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.