At 11:22 AM 10/31/2006 -0500, Malcolm Greene wrote:
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
...
I've used this:
*-- Playsound - parameters file, module?, type (play flags)
*-- Pass: pnPlayType - 1 - Ascynch, 2 - Nodefault sound 0 -Synch
*-- 4 - Kill currently playing sound
*-- 8 - Continous
DECLARE INTEGER PlaySound IN WINMM.dll AS WinPlaySound STRING cWave,
INTEGER nModule, INTEGER nType
Sample call:
WinPlaySound("c:\blahblahb\msbites\doom.wav",0,1)
....
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
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.