RE: Single instance of an object between different processes?
- From: "Dan Kelley" <DanKelley@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 17 Aug 2005 01:57:01 -0700
Essentially, you will need to host your singleton in either a stand-alone
exe, or a service. I would definately recommend remoting, as it is very
simple to use. If you use a stand-alone exe, you will obviously need to make
sure it is available when needed, and ensure only one instance of the exe is
running at any one time (using a mutex).
If you do not want to use remoting, you can use any number of other
interprocess communication protocols. Remoting in this instance is the most
suitable, IMHO.
HTH
Dan
"Elad" wrote:
> Hi,
>
> I have an application that is made up of several executables. I need all
> these executables to use the same instance of an object.
>
> What is the best, most efficient way to approach this?
>
> Thanks a lot!
>
>
>
.
- References:
- Prev by Date: Re: Thread.Abort
- Next by Date: Finding "not used methods"
- Previous by thread: Re: Single instance of an object between different processes?
- Next by thread: How do you guys handle error's from class libraries?
- Index(es):
Relevant Pages
|