- - * - WhiteUnicorn - * - -




* #WhiteUnicorn/ StartPage/ Documentation/DelphiFAQ >


Frequently Asked Questions

How do I tell if a sound card is installed?

Question:

How do I tell if a sound card is installed?

Answer:

You can make a call to the MultiMedia API function
WaveOutGetNumDevs().

uses MMSystem;

procedure TForm1.Button1Click(Sender: TObject);
begin
  if WaveOutGetNumDevs > 0 then
    ShowMessage('Sound Card is installed')
  else
    ShowMessage('Sound Card is not installed')
end;



* #WhiteUnicorn/ StartPage/ Documentation/DelphiFAQ >



- - * - Anastasija aka WhiteUnicorn - * - - LJLiveJournal
PFPhotoFile