Com-Interop Problem

CS4007

New member
Joined
Jan 30, 2008
Messages
1
Programming Experience
3-5
Hello
Following problem.
I use a Com-Connection to communicate between my WinForm App and a CAE System. To connect to an existing instance of the CAE System, or to create a new instance i call the constructor like that:
Dim App as new CaeApplicationClass

Now i have the following problem. When there are allready two instances of the CAE System opened, my WinForm App allways connects to the instance which was started earlier.
Is there a way to choose, to which of the two instances my WinForm App will be connected to?

Every idea would be helpfull.

CS4007
 
Back
Top