Re: Interprocess communication

From: Yannick Chamming's [eMVP] (ychammings_nospam_at_adeset.com)
Date: 09/30/04


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 ?
>
>


Relevant Pages

  • Re: DMA Transfer Problem in X64
    ... I created DMA Object as 32 bit mode in WDM like below. ... I could successfully write & read datas to buffer directly with Intel ... I tried to test it again with NVidia Chipsetin Windows ... Should I have to regenerate device driver to get proper result in windows XP? ...
    (microsoft.public.development.device.drivers)
  • Need I internet programming with Socket?
    ... I'm coding a windows application. ... My computer works in an intranet and it ... will save datas into a MS Access DB every day. ... Can I write to the Mainserver DB ...
    (microsoft.public.dotnet.languages.vb)