How to create an object which can be shared between process

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
 
A

APG

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top