PDA

View Full Version : How to communicate between two different exe



Lele
6th July 2006, 09:20
Hi,
I'd like to know your opinion on how to communicate between two different exe, at the moment I'm investigating on the Solution QtSharedMemory, but maybe there are some other ways.
Both the executable are developed by me using qt.
Thanks in advance

high_flyer
6th July 2006, 16:15
You could use sockets or pipes as well.

gfunk
6th July 2006, 18:44
I know about QTcpSocket, but does Qt have support for pipes? I'd prefer a cross-platform solution.

elcuco
6th July 2006, 18:50
tcp sockets then. the assistant works this way (there is an example or two in qt about this subject).

Methedrine
9th July 2006, 13:02
If both applications run on the same machine I'd recommend the shared memory solution. Alternately you could also use files, or the already mentioned sockets and pipes.