Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

TMediaPlayer: The MCI device you are using does not support the specified command.

267 views
Skip to first unread message

April

unread,
Oct 29, 2007, 4:51:32 PM10/29/07
to
I am using Delphi 5 and am getting errors with the TMediaPlayer component.
When I attempt to play any WAV file, I get the following error message: The
MCI device you are using does not support the specified command.

Why?

MediaPlayer1.FileName := hello.wav';
MediaPlayer1.Open;
try
MediaPlayer1.Play; // ERROR occurs here ! :-(
except

end;


April

unread,
Oct 29, 2007, 9:56:25 PM10/29/07
to
I discovered that if you set the TMediaPlayer's Shareable property to TRUE
and use PLAY you get the error message. If you set Shareable to FALSE then
the error does not occur. Case solved.


0 new messages