I have been looking at all the documentation and I can't find anywhere
that says whether or not it is possible for XPCOM to access components
that are allocated in another process.

Something like this.

Process/App 1
-------------
- Creates an instance of a component that would like to be shared
- Processes incoming networking
- Updates the component's internal state to reflect the changes


Process/App 2
-------------
- Get interface to the component in app 1
- Uses the interface to query the component

I know that I would have to write synchronization code, and I have no
problem with doing that.  What I really want to know is if there is a
way for Process 2 to get a proxy/interface to the component in Process
1.

I would also like to know if it is possible for App1 to be C++ based and
App 2 to be C++ or Java or Python based.

If there is not any way to do this in XPCOM current, has anyone tried
doing this type of thing by allocating component instances in shared
memory and then using normal OS methods of sharing that memory between
process?

Thanks,
Allen

Reply via email to