I have a third-party application which exposes a COM interface that I'm
trying to talk to via a C# program.
I add a reference to it and can instantiate an instance of its App
class, which starts an instance of the program which I can manipulate.
However, attempting to attach to an already running copy of the program
via System.Runtime.InteropServices.Marshal.GetActiveObject("ProgID")
always fails with MK_E_UNAVAILABLE.
The program's ProgID and CLSID are in HKCR, but it does NOT show up in the
"running object table."
Am I missing something, or did the program's author forget to do
something?
--
(E-Mail Removed) St. Paul, MN