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
Re: COM singleton to share data between processes?
DispSink Sample
Quote:
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.