Call function in dll with context

Hi all, I got a tricky problem here, and i don't even know if i'm allowed to do this.

I have an application A using extension Dll A1, A2, A3...which are in some cases dependent, when those dll are loaded, they initialize a special context for the A app, such as singleton, session, services, and plenty of other stuff.

This application A call and create a new process B. From this process B, we use an standard Dll from which i want to use an external call declared in one of the dll A1, A2... But i would like to reuse the initiated context in process A to avoid reloading all the other dependencies.

Is that call possible using the A process context ?

For specific reason Process B cannot be called as a thread.

Hope this was clear enough, if not just tell...

I tried several loading method, but most of them failed. Run-time, and Dyn Load, seems to go well but doesn't inherit the context of process A which seems to me quite normal.

Thx to anyone...
[1031 byte] By [Bobelpaso] at [2007-11-18 21:41:19]