PDA

View Full Version : InterProccessComunication (Winapi send message?)



Ricardo_arg
3rd December 2010, 17:55
hi, i am new in qt an i am trying to comunitate with another software, i need to send a message to a program and retrevied several string, can somebody give a guide?
THX!

Timoteo
3rd December 2010, 18:04
If your receiving application has a UI, then you can have a look at WM_COPYDATA (http://msdn.microsoft.com/en-us/library/ms649011(VS.85).aspx). A portable method would be using a socket.

squidge
3rd December 2010, 18:17
How about using a pipe? The read side of the pipe can be connected to one application, whilst another applications has the write end.

ComaWhite
3rd December 2010, 22:19
What's wrong with QLocalSocket?