inter process communication ?

  • Thread starter Thread starter Yannick S.
  • Start date Start date
Y

Yannick S.

hi all,

I have several process and I want them to communicate.
Is there a solution ?

I've see the remoting but it is not supported on CF.
Is there a way to use shared memory on CF ?

thx
Yannick S.
 
I've allready done something in C with the CreateFileMapping and
MapViewOfFile methods.
What I want is to do something in C#. I have several possibilities with
memory mapping, like making a interface with a C dll in C# or call C
functions in C#. But that don't satisfy me.
Maybe remoting will be available on next version of CF ?
 
No, remoting won't be in next version of CF but System.Messaging will be so
that might be a way of IPC for you then...

Alternativelly try
1) named events+predefined registry areas
2) use sockets
3) use windows messages...

If you must share memory check these out:
http://groups.google.com/groups?hl=...soft.public.dotnet.framework.compactframework

Cheers
Daniel


Yannick S. said:
I've allready done something in C with the CreateFileMapping and
MapViewOfFile methods.
What I want is to do something in C#. I have several possibilities with
memory mapping, like making a interface with a C dll in C# or call C
functions in C#. But that don't satisfy me.
Maybe remoting will be available on next version of CF ?


"Chris Tacke, eMVP" <ctacke[at]OpenNETCF_dot_org> a écrit dans le message de
Look at mamory mapped files.

-Chris
 
In Windows CE V4.x and later you can use the Point To Point Message Queue
APIs. These are not exposed in the CF to the best of my knowledge but I'd
check the Open NET CF libraries to see if it's there before embarking on a
wrapper for them. These Message queues have become the preferred messaging
and notification mechanism within the OS and drivers due to their efficiency
and simplicity.

--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com

Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups
 
NO MSMQ is NOT the way forward nor was it what I was referring to. I was
referring to the POINT TO POINT message Queues built into the OS Look up the
CreateMsgQueue() API. MSMQ would be horribly inefficient for inter process
communication on the same device.

--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com

Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups
 
Yep. As for the OpenNETCF question, it's not there. It's on my (very long)
list of stuff to implement. Along with memory mapped files, which would
also be useful here. =shrug= That's what you get for free - code on our
time schedules. :) Of course we could reprioritize for payment......

-Chris
 
Back
Top