|
-
March 13th, 2012, 02:30 AM
#1
COM singleton to share data between processes?
Hello,
I have a problem described here (http://www.codeguru.com/forum/showthread.php?p=2059816).
I've developed an namespace extension with a datahandler. This datahandler needs to be singleton and available for all processes (e.g. explorer.exe and notepad.exe) so that the data does not have to be retrieved over and over again by a new process.
I've read something that I might use a COM singleton?! Does anybody here have some information about this? Or do you have some idea how I can do this somehow?
Kind regards,
Michael
-
March 13th, 2012, 06:33 PM
#2
Re: COM singleton to share data between processes?
DispSink Sample
The DispSink sample demonstrates a singleton server object (an object that can have only one instance) that has its own dual interface and a dispatch interface used for firing off events.
Not sure how it fits, but it worth trying.
Best regards,
Igor
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
|