I can get a reference to a running CorelDRAW X6 application using VBA (in Excel), but only if I explicitly provide an empty string for the Pathname argument...
'This fails
Set appCD = GetObject(, "CorelDraw.Application")
'This works
Set appCD = GetObject("", "CorelDraw.Application")
Under C#, I'm trying to get CorelDraw using GetActiveObject, but this line appears to fail:
Application = (TApplication)Marshal.GetActiveObject("CorelDraw.Application");
Any ideas on how to get the object?
EDIT: Looks like this question might be the way to go.