Re: Interprocess communication
From: Yannick Chamming's [eMVP] (ychammings_nospam_at_adeset.com)
Date: 09/30/04
- Next message: Yannick Chamming's [eMVP]: "Re: Multiple target libraries from a single sources file"
- Previous message: Yannick Chamming's [eMVP]: "Re: Benchmarking tools for Windows CE"
- In reply to: wizard: "Interprocess communication"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 30 Sep 2004 07:18:34 +0200
WM_COPYDATA is window oriented method, as it uses windows messages posted
between windows of different process. If you have GUI applications, and the
data will be used for graphical display, it is the easiest one to implement,
as all the structure to handle the communication is already there.
If there is no point in treating datas in a GUI application, or if you don't
intend to display the datas, then you'd rather use the map file: it implies
more development from you, but you'll have a better view of how you will
transmit datas between processes
However, both methods would work in both cases, it's just a question of
amount of work to do for you, depending on how you intend to use the datas.
BR
Yannick
-- ---------------------------------------------------------------- Yannick Chamming's (eMVP) ADESET Windows Embedded Manager ychammings AT adeset DOT com> http://www.adeset.com Tél : +33 (0)4.72.18.57.77 Fax : +33 (0)4.72.18.57.78 ---------------------------------------------------------------- "wizard" <ksw412@hanafos.com> wrote in message news:ed8EVKopEHA.2588@TK2MSFTNGP12.phx.gbl... > I have to communicate interporcess. One application is RS-232 communication. > This application is received the 7 ~ 10 byte when signaled event, and > broadcasting data to other applications. Of course, I must send > acknowlegment as soon as receving the command. The MS book refers to this > method. One is the WM_COPYDATA, antother is using the memory-mapped object. > I don't select the method. Above condition, What is the better choice ? > >
- Next message: Yannick Chamming's [eMVP]: "Re: Multiple target libraries from a single sources file"
- Previous message: Yannick Chamming's [eMVP]: "Re: Benchmarking tools for Windows CE"
- In reply to: wizard: "Interprocess communication"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|