Article View: borland.public.cppbuilder.multimedia
Article #223Re: Easiest way to beep the speakers
From: 4N
Date: Fri, 17 Nov 2006 17:16
Date: Fri, 17 Nov 2006 17:16
28 lines
1786 bytes
1786 bytes
He wants to make beep the internal (crappy) speaker so he doesn't have to
turn on speakers likely
"Mark Jacobs" <http://www.jacobsm.com/mjmsg?Borland%20Newsgroup> ha scritto
nel messaggio news:455d9fec$1@newsgroups.borland.com...
> ���� wrote:
>> I want to send a beep to both Internal Case Speaker and also Sound
>> Cart But the easiest way, API only , no component , no OCX, etc...
>> is there any idea?
>
> Try Beep(3000,500); for sound on the PC speaker (works for me under XP).
>
> Also,
>
> PlaySound("SystemQuestion",HInstance,SND_ALIAS|SND_ASYNC);
>
> plays the System Question sound (whatever that is configured as) on the
> proper speakers (attached to the sound card)
>
> HTH,
> --
>
> To be aware is to care.
> -
> Mark Jacobs
> DK Computing
> http://www.dkcomputing.co.uk
>
Technical Details
Message-ID:
<455dedf4@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<45598de3@newsgroups.borland.com> <455d9fec$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10d0fc,48645038bf79d9cf X-Google-Attributes: gid10d0fc,public X-Google-Language: ENGLISH,ASCII From: "4N" <xxxx@yyyy.zzz> Newsgroups: borland.public.cppbuilder.multimedia References: <45598de3@newsgroups.borland.com> <455d9fec$1@newsgroups.borland.com> Subject: Re: Easiest way to beep the speakers Date: Fri, 17 Nov 2006 18:16:17 +0100 Lines: 30 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 87.20.96.46 Message-ID: <455dedf4@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1163783668 87.20.96.46 (17 Nov 2006 09:14:28 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail