1) either the windows app launch MediaMonkey or have MediaMonkey automatically launch the windows app (ie: not have to manually call a script)
2) be able to call methods on the MediaMonkey API from the other app
3) subscribe to MM events
If I have MM autolaunch my app, then everything works fine as long as it's only a console app. If it's a winform app, then MM won't start until after the winform app is closed. While inconvenient, it seems to be logical behavior and hence, not a bug.
The following however does seem to be a bug (and is the only other way I can think of to fulfill the above requirements):
If I launch MediaMonkey with the winform app using
Code: Select all
SDBApplication SDB = new SDBApplicationClass();
My environ: WinXP SP2. 2.66 gHz Penium 4. 1.5gb ram. 60gb primary partition. 1 cd-rw. 1 dvd rom. MediaMonkey v220.127.116.118 standard unregistered. No plugins. Only script = MagicNodes. Visual Studio 2005 Standard Ed. v8.0.50727.762
If you would like to see my code, I'd be glad to email it but it's far too much to post here.
Any help would be greatly appreciated.