Next Generation Emulation banner

1 - 4 of 4 Posts

·
Registered
Joined
·
1,959 Posts
Discussion Starter #1
Ive been trying to create a simple foobar2000 plugin that is able to broadcast now playing track info back to anywhere else. Ive been successfull with creating a working foobar plugin that can grab the info for itself, but here comes the problem: how to send it from the dll plugin's thread\process, to anywhere else.

One option ive seen was using COM.. but i havent written any such component before. Anyone has any idea how to use those, or can suggest another idea ?

Basicly, i need to 'tag' that process somehow, so i can find it later with a different application and use the plugin's functions in that process' context.


Any help\suggestion would be welcome, Thanks in advance.
 

·
Registered
Joined
·
230 Posts
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ipc/base/named_pipes.asp

?

Check out more options here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ipc/base/interprocess_communications.asp

COM seems slightly overkill for just passing some "Now Playing" information to another process.

EDIT: Actually, if you plan on exposing more features, COM might be a good investment. I never used COM though (I experimented with CORBA in Linux), but it shouldn't be too hard.

EDIT2: Never heard of a mailslot before. Sounds interesting. Check it out:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ipc/base/mailslots.asp
 

·
Registered
Joined
·
1,959 Posts
Discussion Starter #4
Thanks for all the suggestions, ill look into all of them and let you know if i get any progress done. Thanks again ;)
 
1 - 4 of 4 Posts
Top