How to create an object which can be shared between process

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I need to create this proces

X starts, if there is no object AA (where is stored Data) I create A
Y starts, it tryes to retrieve AA to obtain Dat
When Y or X stops, AA is still alive (because there is always 1 object who use AA

X and Y can be switched (Y can be started before X

I don't know how I need to create the object AA (AA should be a COM services, a stand alone process
ans how the different process can retrieve and use A

Thx a lot for your read and your respons

Ashur
 
Hi Ashura,

One option for your case would be to have a Remoting Server has the
logic of creating the object and serving it when requested.

Both the processes can request for the object in the manner you have
described. You may want to have a look at how to implement this.

HTH.
 
Back
Top