Log in

View Full Version : “NotSupportedException” (unknown exception return by waveOutOpen method)


HRW01
07-14-2005, 01:53 PM
Hi,
I tried to implement waveOutOpen method for playing a audio file on the pocket (Windows CE C#.Net), but it will gives me following error.

“NotSupportedException” (unknown exception return by waveOutOpen method)

.Net declaration for waveOutOpen

[DllImport("CoreDll.DLL")]
public static extern int waveOutOpen(out IntPtr hWaveOut, int uDeviceID, WaveFormat lpFormat, WaveDelegate dwCallback, int dwInstance, int dwFlags);


Any help would be very much appreciated.
Hope to hear soon from you.