Title: sound card - installed or not
If you write multimedia software that requires an installed sound card, of course you must check if some sound card is installed
You may do so with this function:
function waveOutGetNumDevs: UINT; stdcall; external 'winmm.dll' name
'waveOutGetNumDevs';
procedure TForm1.Button1Click(Sender: TObject);
begin
if waveOutGetNumDevs 0 then
ShowMessage('Sound card is installed')
else
ShowMessage('Sound card is not installed')
end;
Generally waveOutGetNumDevs function will return a number of installed
sound cards.