Software
Java
JavaScript
Delphi
HomeDelphi

Check To See If Sound Card Is Present

Click to select the code.  Use Control-C to copy it to your clipboard. Help

Comments

The easiest way to find out if a sound card is present on a system is to go ask the winmm.dll about it, as with the isSoundCard function in the example above.  If the value returned is greater than zero, then a sound card is on the system.

Though we show it here with just a button-click test and ShowMessage, a more typical use for this would be in applications that use sound for accents like button clicks or splash screen openers. The isSoundCard function would then be used to check to see if a sound card was available, prior to making a sound call.

FLASH! BANG! The action just never ends. You want your site to look great? You want it to stand out from the crowd? You want it to be free of smelly foot odor? Then you MUST MUST MUST have... Go here: FlashBanger's!

.

Copyright 2001 - 2012 by CodeFoot.com and OECCorp.
The 2012 Evolution™


LegalPrivacyCodeFoot.com is an OEC InterNET Group site.SupportNotices
CodeBrain.com BrainCode.com CodeFoot.com CodeBelly.com CodeLifter.com
PopUpWorks.com Droiddd.com etLux.com OECCorp.com
TrayApps.com DavidSosnowski.com MicroTicker.com