Results 1 to 3 of 3

Thread: How to include dll file in qt program ?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2010
    Location
    Bhubaneswar, Odisha
    Posts
    25
    Thanks
    3
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Post How to include dll file in qt program ?

    Hi,

    How do i include the dll file created using visual c++ in my Qt project. can someone give me the sample .pro file?

    OS : WIN XP
    Qt Version : 4.7.0

    thanks.

  2. #2
    Join Date
    Sep 2011
    Posts
    1,241
    Thanks
    3
    Thanked 127 Times in 126 Posts
    Qt products
    Qt4
    Platforms
    Windows

  3. The following user says thank you to amleto for this useful post:

    vinod sharma (10th October 2011)

  4. #3
    Join Date
    Jan 2010
    Location
    Bhubaneswar, Odisha
    Posts
    25
    Thanks
    3
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: How to include dll file in qt program ?

    Thank you Amleto for your suggestion.

    I just go through the url that you had given and I tried by giving the path in INCLUDEPATH variable but didn't succeed.

    Then I use QLibrary class to include my library and it's symbol. It compiles successfully but didn't call my library function this I came to know by checking it in Application output window of Qt, it shows :

    "LDR: LdrpWalkImportDescriptor() failed to probe F:\SlaveDeviceSimulator\File_transfer_DLL.dll for its manifest, ntstatus 0xc0150002"

    Here "F" is my drive and "File_transfer_DLL.dll" is my dll file.

    Can anybody help me where i am going wrong.
    If code is needed I will post it.

    Thanks for enlightening me!
    Vinod.

Similar Threads

  1. Replies: 1
    Last Post: 23rd May 2011, 04:53
  2. Replies: 3
    Last Post: 1st November 2010, 16:33
  3. Replies: 2
    Last Post: 26th June 2010, 20:27
  4. Replies: 4
    Last Post: 9th May 2010, 16:18
  5. Replies: 2
    Last Post: 9th March 2010, 05:21

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.