EDN Admin
Well-known member
Platform: .NET 2005 with .NET 2.0 framework. Windows XP Professional
When attempting to utilize the SoundPlayer I always get the error message:
<font color="#ff0000 "An unhandled exception of type System.InvalidOperationException occurred in System.dll</font>
<font color="#ff0000 Additional information: The wave header is corrupt."</font>
I first thought that my source wave files were corrupt but when attempting to play system sounds (c:WindowsMedia) I get the same exception every time.
The other unusual behavior is that the player actually plays the entire wave file while raising the exception.
Has anybody else seen similar behavior?
Thanks for any help given.
View the full article
When attempting to utilize the SoundPlayer I always get the error message:
<font color="#ff0000 "An unhandled exception of type System.InvalidOperationException occurred in System.dll</font>
<font color="#ff0000 Additional information: The wave header is corrupt."</font>
I first thought that my source wave files were corrupt but when attempting to play system sounds (c:WindowsMedia) I get the same exception every time.
The other unusual behavior is that the player actually plays the entire wave file while raising the exception.
Has anybody else seen similar behavior?
Thanks for any help given.
View the full article