all groups > dotnet compact framework > july 2005 >
You're in the

dotnet compact framework

group:

.Net interop between EXEs


.Net interop between EXEs Tim Johnson
7/30/2005 10:14:01 AM
dotnet compact framework:
I'm interested in some opinions on the possible ways to have 2 C# exes
communicate with each other. One is an app that is always running, almost
like a device driver or service, to collect and process data from external
hardware (I guess in WM2005 it would be a real service). The other is an app
that comes and goes and wants to periodically get data from that app, as well
as receive events (disconnected, device changed state, etc). I don't believe
there's any way I can create callable methods in the .exe assembly, the way I
could if it were a .dll assembly (please correct me if I'm wrong!). And I
don't want to have the driver app consist of a small exe and a workhorse dll
that both exes can call into if I can avoid it. So I'm wondering if there
are other recommended .Net ways to do this, or if I should just go with old
Re: .Net interop between EXEs Daniel Moth
7/30/2005 6:24:50 PM
What you call "old standbys" is what you need to achieve IPC on CE:
http://www.danielmoth.com/Blog/2004/09/ipc-with-cf-on-ce-part-1.html

....also check out this article:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/point2point_message_queues.asp?frame=true

Cheers
Daniel
--
http://www.danielmoth.com/Blog/


[quoted text, click to view]
AddThis Social Bookmark Button