Any step process for Qt to interact with msmq?
-
wrote on 16 Nov 2011, 18:06 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 -
wrote on 16 Nov 2011, 19:15 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. -
wrote on 17 Nov 2011, 02:26 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
-
wrote on 17 Nov 2011, 07:22 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.
1/4