Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Any step process for Qt to interact with msmq?

    Language Bindings
    2
    4
    3373
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      shisen last edited by

      hi..

      i am using Qt framework in windows platform which has to interact with microsoft visual studio using message queues,
      but m still stuck on how to go about it as m not able to get material on how the proper interaction can take place

      1 Reply Last reply Reply Quote 0
      • G
        giesbert last edited by

        You want to interact between Qt and Visual studio? Do you create a MSVS plugin in Qt?
        A message queue is just a queue. To send data to a windows message queue, use SendMessage from the win API. to read messages from a Queue, use the winEvent function in QWidget.

        Nokia Certified Qt Specialist.
        Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

        1 Reply Last reply Reply Quote 0
        • S
          shisen last edited by

          i am not creating a msmv plugin..my case scenario is tat i have to interact with a third party in which they provide their dll made in mfc and mine will be a Qt dll/plugin and our common means to interact will be through msmq..i intend to use Qt creator independently without using a plugin in msvs

          1 Reply Last reply Reply Quote 0
          • G
            giesbert last edited by

            Ok, so you have two buinaries, one in Qt, one in MFC.
            You want to send the MFC binary (window) messages, right?
            Use WinAPI SendMessage.
            To get messages back, you need a top level widgetr (which also is a real window) and overwrite winEvent.

            Nokia Certified Qt Specialist.
            Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

            1 Reply Last reply Reply Quote 0
            • First post
              Last post