Questions tagged [running-object-table]

A central table listing all running com objects. Those will not be added automatically, every object has to this for its own.

A central table listing all running com objects. Those will not be added automatically, every object has to this for its own.

It's a mechanism to help programs to ensure only one instance of itself is running at the same time.

19 questions
0
votes
1 answer

Inventor COM object not released when created with Activator.CreateInstance()

My problem is this: If Autodesk Inventor is not running, my app (console app) creates a new instance with Activator.CreateInstance(InventorType); and uses it as a COM object. When my app does not quit Inventor but leaves it open and the user later…
0
votes
2 answers

Out of process COM object dynamic versioning

I am using out-of-process COM object that is hosted by myexe.exe. There are multiple versions of those exes which host the COM object. Each version can have slightly changed interfaces and methods. Each of myexe.exe files are located in versioned…
Yuri Vovchenko
  • 363
  • 1
  • 5
  • 14
0
votes
1 answer

Get multiple running COM objects of same Type

I'm trying to find the first visible instance of Word. I have found some helpful code here and modified it sligthly. using System; using System.Diagnostics; using System.Runtime.InteropServices; using System.Runtime.InteropServices.ComTypes; using…
Rene Niediek
  • 147
  • 9
0
votes
1 answer

How to place object in ROT

i went through this link http://blogs.artinsoft.net/Mrojas/archive/2011/09/30/Running-Object-Table-and-NET.aspx i want to know, can we place MFC object in RunningObjectTable or not. If yes how can we do that. Please help me here.
Raj
  • 68
  • 1
  • 6
1
2