
Multimedia Control throws exception on Windows 98, not on XP
I have a VB.NET application which uses the Microsoft Multimedia Control 6
(SP3)(MCI32.OCX) to play a WAV file. It works fine on my Windows XP PC.
When I install the application on an older laptop running Windows 98, the
rest of the application works fine, but the statement that creates the sound
object fails:
PlayerControl = New MCI.MMControl()
PlayerControl had previously been declared as :
Public Playercontrol As MCI.MMControl
The exception that gets thrown contains the message:
Exception from HRESULT: 0X80040112
The laptop DOES play WAV files when you double-click them.
I don't know what that exception means.
Don