This morning I posted a Yahoo! Music Engine plugin project template for Visual C# 2005.
If you use Visual C# 2005 (including the Express Edition which is what I have), I hope you find this useful for writing plugins for Yahoo! Music Engine.
To use this, copy the .zip file to:
My Documents\Visual Studio 2005\Templates\ProjectTemplates\Visual
C#\YahooMusicEnginePlugin.zip
Then when you create a new project, the dialog should offer a new
choice for YME Plugin.
The resulting project has the basic structure for a plugin, code for
registering an entry in the service drawer, and ComRegister
and
ComUnregister
functions that will automatically add the proper YMP
registry keys.
Enjoy.
Marc – I think this is a great Template! I was able to add the sample
plug in into YME with no hassles.
Now the only problem I am having is trying to register the event
handling for the Hello World Ap.
I tried using code from someones C# Hello World app (based on the
VB.net version) but I think because certain objects are created
slightly different the coding doesnt work well with the template.
Does anyone have the Hello World App or something similar written
using the C# 2005 Template files? I think this is all I really need to
help me build my simple plugin.
Biggest Issue I have is trying to create the eventhandler to cause a
method to run on the OnPlayTrack event – I keep getting cast errors
with my sample code.
Example code:
http://groups.yahoo.com/group/ymedev/message/825
Any help or sample code – greatly appreciated!