views:

36

answers:

0

I have written a c# com out of proc automation server which references my managed COM Interop dll which holds the application object model, it all works fine.

When importing my dll from say unmanaged C++ it works fine it launches the out of proc server and everything works by using COM to access it, but when i do the same from managed code say c# project it only creates the class object but does not spin off the out of proc server.

How can i get my object model from managed code to start my out of proc server.

Say something like this

MyAPI.Application app = new MyAPI.Application();

Just wondering if anyone has a clue on how i can get my managed object model dll to launch my com server, am trying to create my application to be automated the way Microsoft Office does.

Thanks in advance!