Suggestions on a technique for playing a very brief sound effect ('a click') without using ??chr(7) and SET BELL TO 'file'? The sound effect is designed to reinforce a user action and can be optionally disabled by the user. An asynch solution would work best.
Are mciSendString(), sndPlaySound() or MessageBeep() my only options? Any tips on which of these api calls works best for a brief sound effect.
Research:
1. On Windows NT, 2000, and XP the mciSendString("open...") command is extremely slow. http://www.codeguru.com/Cpp/G-M/multimedia/audio/article.php/c4715/
2. sndPlaySound() http://www.news2news.com/vfp/?example=251
Thanks,
Malcolm
©2006 Malcolm Greene |