Re: Windows Media Player remote object and plugin object
Assuming your plugin is an in-proc object, you of course will
get a diffrent object in your own process. You can write
some kind of inter-process communication mechanism (pipes,
sockets, mailslots, memory mapped files...) so the object in
your process communicates wit the object in the other process.
It doesn't even have to be the same object as the plugin - all
the object does is talk to the plugin after all. Or you can check
if WMP already has an interface so it can give you interface
pointers to its plugins (I'm rather doubtful about that though...).
Microsoft MVP [VC], MCSD
MVP VC FAQ: http://www.mvps.org/vcfaq
<firstname.lastname@example.org> wrote in message
i wrote an Application that uses Windows Media Player as a remote COM
object. Now i have also written an WMP plugin that is also a registered
Now i want to communicate from Application to the plugin. So i use
CoCreateInstance to get my hands on the plugin object. I get a S_OK but
my function calls have no effect. I seems that there are multiple
instances of the plugin object. Now i want to ask if there is a
solution to get the one my remote WMP object uses.
CoCreateInstance instanciates a new one i suggest - but what else to
Any help is appreciated,