From: "Hans-Peter Fischer" Newsgroups: comp.os.msdos.djgpp Subject: Re: How to ring tge bell? Date: Mon, 25 Sep 2000 09:34:06 +0200 Lines: 32 Message-ID: <8qn2ka$ftp44$1@ID-43526.news.cis.dfn.de> References: <39CD00B8 DOT 9CD51E2 AT lps DOT u-psud DOT fr> <8qj18f$ld9$1 AT uranium DOT btinternet DOT com> <83ya0i93b4 DOT fsf AT mercury DOT st DOT hmc DOT edu> NNTP-Posting-Host: 194.121.157.20 X-Trace: fu-berlin.de 969870795 16704644 194.121.157.20 (16 [43526]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-Mimeole: Produced By Microsoft MimeOLE V5.00.2314.1300 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Nate Eldredge schrieb in im Newsbeitrag: 83ya0i93b4 DOT fsf AT mercury DOT st DOT hmc DOT edu... > "Thomas Harte" writes: > > > taupin wrote in message <39CD00B8 DOT 9CD51E2 AT lps DOT u-psud DOT fr>... > > >I need to find that in order to warn the user of a program of some > > >error. > > > > I don't recall exactly, but isn't there an ASCII control code (which you can > > just printf or putc or whatever) intended to produce an error beep? > > Something like '\a' ? > > Yes. There are also the `sound' and `nosound' functions. Hi! This reminds me of a problem I have with "sound". On one machine running Win NT "sound" behaves very much like "nosound" the first time it is called after the program was started, i. e. the first call of "sound" doesn't produce any sound. Only the second, third, and so on do. Has anyone else experienced this? Is it a hardware or NT problem? On two other machines - one running Win 95 and the other one Linux/DOSEMU - "sound" always works as expected. Hans-Peter -- Visit http://www.hei-news.de/