Hi all,
....trying to instantiate a WMP player in a console, but the code failed in:
using AxWMPLib;
using WMPLib;
....
AxWMPLib.AxWind owsMediaPlayer objPlayer = new AxWMPLib.AxWind owsMediaPlayer( );
A first chance exception of type 'System.Threadi ng.ThreadStateE xception'
occurred in System.Windows. Forms.dll.
Does anyone have a way around this?
Thanks,
DH
....trying to instantiate a WMP player in a console, but the code failed in:
using AxWMPLib;
using WMPLib;
....
AxWMPLib.AxWind owsMediaPlayer objPlayer = new AxWMPLib.AxWind owsMediaPlayer( );
A first chance exception of type 'System.Threadi ng.ThreadStateE xception'
occurred in System.Windows. Forms.dll.
Does anyone have a way around this?
Thanks,
DH