-
Oct 11th, 2024, 03:31 AM
#1
Thread Starter
Hyperactive Member
(ROT) Running Object Table Callback
Hi Dear forum.
I would like to be notified when the content of the ROT changes. Does any of the ROT/*Moniker supporting interfaces provide some Method\function\mechanism like a callback to this end ? I have looked through the interfaces but can't find anything related.
Thanks.
-
Oct 11th, 2024, 04:48 AM
#2
Re: (ROT) Running Object Table Callback
probably need to enumerate the table on interval and compare.
https://learn.microsoft.com/en-us/wi...le-enumrunning
-
Oct 11th, 2024, 04:51 AM
#3
Re: (ROT) Running Object Table Callback
Originally Posted by dz32
That's my conclusion, too.
Meaning: Throw it into an activex-dll (or use one of those "Start a new Thread"-Hacks), periodically check for changes, fire off an Event which you can catch in your frontend
Last edited by Zvoni; Tomorrow at 31:69 PM.
----------------------------------------------------------------------------------------
One System to rule them all, One Code to find them,
One IDE to bring them all, and to the Framework bind them,
in the Land of Redmond, where the Windows lie
---------------------------------------------------------------------------------
People call me crazy because i'm jumping out of perfectly fine airplanes.
---------------------------------------------------------------------------------
Code is like a joke: If you have to explain it, it's bad
-
Oct 11th, 2024, 05:06 AM
#4
Thread Starter
Hyperactive Member
Re: (ROT) Running Object Table Callback
Thanks guys.
Periodically reading the ROT is what I am doing now ... I was expecting\hoping MS provided some callback mechanism via the IRunningObjectTable or some other interfaces (This would have been less heavier and particularly useful for detecting the ROT change before the actual change occurs which can't be achieved via a timer, or via the suggested new thread hacks)
-
Oct 11th, 2024, 06:00 PM
#5
Re: (ROT) Running Object Table Callback
Implement your own cross-process notifications in the event mode. Or web socket communication
-
Oct 11th, 2024, 07:56 PM
#6
Thread Starter
Hyperactive Member
Re: (ROT) Running Object Table Callback
Originally Posted by xiaoyao
Implement your own cross-process notifications in the event mode. Or web socket communication
I don't know how to do that. Do you have a small example ? Thanks.
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
|