IS there anyway to tell if there is a sound card in a users PC? I need to know so I can either allow or disallow the option of playing .wav and .mp3
Thanks
Printable View
IS there anyway to tell if there is a sound card in a users PC? I need to know so I can either allow or disallow the option of playing .wav and .mp3
Thanks
The API function waveOutGetNumDevs should help. If it returns 0, then there are no wave devices present in the system.
Code:Private Declare Function waveOutGetNumDevs Lib "winmm.dll" () as Long
Thanks