Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Language Bindings
  4. Any step process for Qt to interact with msmq?
Forum Updated to NodeBB v4.3 + New Features

Any step process for Qt to interact with msmq?

Scheduled Pinned Locked Moved Language Bindings
4 Posts 2 Posters 3.8k Views 1 Watching
  • 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 Offline
    S Offline
    shisen
    wrote on last edited by
    #1

    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
    0
    • G Offline
      G Offline
      giesbert
      wrote on last edited by
      #2

      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
      0
      • S Offline
        S Offline
        shisen
        wrote on last edited by
        #3

        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
        0
        • G Offline
          G Offline
          giesbert
          wrote on last edited by
          #4

          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
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved