Welcome! and rules
Joel on Software
Is it posible to share a few objects between diferent proceses? I would like to cache some objects between several C# programs I'm writing.
Yes, I believe you can. You will probably have to use remoting.
You could create a cache point within one process and give the others access to it via remoting, certainly, but be aware that any object you have to actually transfer over the wire must be serializable. You can't share the actual objects (ie maintain references to the same instance); you'd be sharing the data in the object.
Its quite easy to share memory directly between c# processes using a memory mapped file and win32 api calls.
Fog Creek Home