http://msdn2.microsoft.com/en-us/lib....register.aspx
says:
..NET Framework Class Library
IRunningObjectTable.Register Method
Note: This method is new in the .NET Framework version 2.0.
Registers that the supplied object has entered the running state.
Namespace: System.Runtime.InteropServices.ComTypes
Assembly: mscorlib (in mscorlib.dll)
C# code:
int Register (
int grfFlags,
Object punkObject,
IMoniker pmkObjectName
)
Parameters:
grfFlags
Specifies whether the Running Object Table's (ROT) reference to punkObject
is weak or strong, and controls access to the object through its entry in
the ROT.
punkObject
A reference to the object being registered as running.
pmkObjectName
A reference to the moniker that identifies punkObject.
Return Value
An HRESULT value that indicates the success or failure of the operation.
Remarks
For more information, see the existing documentation for
IRunningObjectTable::Register in the MSDN
"Sascha Dietl" <Sa*********@discussions.microsoft.com> wrote in message
news:7A**********************************@microsof t.com...
Hi NG,
i need to know how to register an Object in the ROT (Running Object Table)
using the Interface found in System.Runtime.InteropServices.ComTypes i'm
using the .NET Framework 2. I tried some searches but i didn't found
anything.
TIA and Best Regards
Sascha