Board index » cppbuilder » Communication Interface between 2 Windows app

Communication Interface between 2 Windows app


2006-01-26 04:06:51 PM
cppbuilder76
Hello all,
I have to think about an interface which is dealing with communication
between 2 windows applications.
The communication is something like this
start form x with param x,y,z
So in the first step only async.
I know from the past (10 years ago) about DDE. But I think exist a new
framework or?
Thanks for your help
 
 

Re:Communication Interface between 2 Windows app

Quote
Hello all,
I have to think about an interface which is dealing with communication
between 2 windows applications.
Have a look at the WM_COPYDATA message, wich can be used to exchange
informations between two apps.
You also have the possibility to use a file to exchange data, and to
send a WM_USER+xxx to the other app when the file is written, but this
is really ugly.
The last option i know is to use sockets, and to open a socket between
the two apps. The advantage of this option is that if you wish to put
the two apps in separate PCs one day, you'll have nothing to change in
your code.
Regards,
Tom
 

Re:Communication Interface between 2 Windows app

"Thomas J" < XXXX@XXXXX.COM >wrote in message
Quote
I know from the past (10 years ago) about DDE. But I think
exist a new framework or?
There are a lot of different ways to communicate between processes - DDE,
pipes, TCP/IP sockets, ActiveX/COM, RPC, shared memory, files, Registry,
WM_COPYDATA, custom window messages - just to name a few.
Gambit
 

{smallsort}