G
Guest
Hi.
I would like to create an instance of a COM server from C# code.
I now use the System.Runtime.InteropServices.Marshal.GetActiveObject()
function to get the running instance (but this implies that there is an
instance running). But I would like to check (at the start of my code) wether
there is a running instance and if not, start one. I'm not to familiar with
COM, so "best practise" hints would be nice!
I would like to create an instance of a COM server from C# code.
I now use the System.Runtime.InteropServices.Marshal.GetActiveObject()
function to get the running instance (but this implies that there is an
instance running). But I would like to check (at the start of my code) wether
there is a running instance and if not, start one. I'm not to familiar with
COM, so "best practise" hints would be nice!