Results 1 to 4 of 4

Thread: how to call mfc dll in Qt

  1. #1
    Join Date
    Mar 2011
    Location
    delhi
    Posts
    45
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Exclamation how to call mfc dll in Qt

    hi all please tell me how to call mfc dll from Qt.



    thanks with regards;
    gauravg

  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: how to call mfc dll in Qt

    Same way as you use any other DLLs: Declaring other libraries

  3. #3
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: how to call mfc dll in Qt

    I think the question might be more related to how the MFC event handling syncs up (or not) with the Qt event loop. For example, can you invoke the display of a dialog box contained within an MFC DLL and actually have it work as expected?

    (Not that I would *ever* go back to programming in the code of the Dark Side, but just curious).

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

    Default Re: how to call mfc dll in Qt

    why would you ever want to use mfc from qt?
    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

Similar Threads

  1. how to call mfc dll from Qt
    By gauravg in forum Qt Programming
    Replies: 1
    Last Post: 16th November 2011, 07:18
  2. How to call another program?
    By shihao in forum Newbie
    Replies: 15
    Last Post: 17th March 2010, 06:42
  3. how to call mfc dll use qt?
    By yunpeng880 in forum Qt Programming
    Replies: 2
    Last Post: 12th March 2009, 04:32
  4. who call my slot?
    By mattia in forum Newbie
    Replies: 1
    Last Post: 28th November 2007, 12:44
  5. Call QProcess without GUI
    By mattia in forum Newbie
    Replies: 8
    Last Post: 5th November 2007, 13:39

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.