Player methods called from .NET
Posted: Sat Jun 09, 2007 8:13 pm
I've been writing an app in .NET 2.0 / C#. When I call certain methods, both my UI and MM's UI become unresponsive and must be stopped via Task Manager. The methods are those handling playback. Eg: Player.Play(), Pause(), Stop(), Next(). The I've gotten around this so far by launching each call to one of these methods in its own thread. If several of these are used in quick succession, then the hangup still occurs. If I try to use one of these actions directly after checking Player.IsPlaying, then the hangup still occurs.
I've stepped through this in Visual Studio's debugger. These methods don't return. Ie: I call them and never reach the following line of code.
I have also tried uninstalled MediaMonkey, re-downloaded, re-installed, and re-set my references in my app. The issue is 100% reproducible.
My environ: WinXP SP2. 2.66 gHz Penium 4. 1.5gb ram. 60gb primary partition. 1 cd-rw. 1 dvd rom. MediaMonkey v2.5.5.998 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.
I've stepped through this in Visual Studio's debugger. These methods don't return. Ie: I call them and never reach the following line of code.
I have also tried uninstalled MediaMonkey, re-downloaded, re-installed, and re-set my references in my app. The issue is 100% reproducible.
My environ: WinXP SP2. 2.66 gHz Penium 4. 1.5gb ram. 60gb primary partition. 1 cd-rw. 1 dvd rom. MediaMonkey v2.5.5.998 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.