|
-
April 12th, 1999, 03:12 PM
#1
IRunningObjectTable how do it work.
I have to access the IRunningObjectTable (ROT)to find Word but how can I access it, quickly?
Rick
-
April 12th, 1999, 03:12 PM
#2
IRunningObjectTable how do it work.
I have to access the IRunningObjectTable (ROT)to find Word but how can I access it, quickly?
Rick
-
May 6th, 1999, 11:55 AM
#3
Re: IRunningObjectTable how do it work.
try this code:
IRunningObjectTablePtr rot;
IEnumMonikerPtr MonikersTable;
IMonikerPtr CurrentMoniker;
if(GetRunningObjectTable(0, &rot) != S_OK)
return NULL; // couldn't access ROT !!!
rot->EnumRunning(&MonikersTable);
MonikersTable->Reset();
while(MonikersTable->Next(1, &CurrentMoniker, NULL) == S_OK)
... and use the moniker to get the interface.
Hope that what you ment.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|