Results 1 to 10 of 10

Thread: Qt and the Win32 API.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #6
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Qt and the Win32 API.

    i'm not sure i understand... How will the 3rd party API be able to send me messages if i'm giving it a NULL HWND?
    Usually you have to give a function pointer to a call back.
    There HWND can be null, and with your message pump you handle messages of type X and not on a window basis.
    (like for example handling SetTimer() in a console application)

    But I misunderstood your first post to some extent, and I too recommend to go the way Coises suggested.

    But putting the extra effort in cross platform wrapper only makes sense, if he driver is also available on other platforms, and, that it uses the same API it does under windows.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  2. The following user says thank you to high_flyer for this useful post:

    hickscorp (23rd January 2010)

Similar Threads

  1. how to use Qt dll in Win32 project
    By Fastman in forum Qt Programming
    Replies: 8
    Last Post: 10th July 2009, 12:16
  2. QT app on several win32 computers
    By mmickey in forum Qt Programming
    Replies: 1
    Last Post: 12th June 2009, 11:42
  3. win32 api
    By weixj2003ld in forum Newbie
    Replies: 1
    Last Post: 17th April 2009, 07:46
  4. arg!!!! QProcess on win32
    By gfunk in forum Qt Programming
    Replies: 7
    Last Post: 27th January 2008, 18:40
  5. Qt Themes on win32? how?
    By Thaorius in forum Qt Programming
    Replies: 2
    Last Post: 2nd September 2007, 00:45

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.