Same application, multiple sessions
Hi all
I need to connect to a CAD application which can have several sessions open on the same local machine. Using:
System.Runtime.InteropServices.Marshal.GetActiveObject("CATIA.Application" )
or
GetObject(, "CATIA.Application")
connects to the last opened session.
Is it possible to manage which session of the CAD application my application is connecting to?
This problem should not be specific to this particular CAD software but to any software with an ActiveX interface where it is possible to launch multiple sessions/instances of it.
Thanks in advance
Stefano