Re: No Beep!
- From: "Bob Richardson" <bobr at whidbey dot com>
- Date: Tue, 28 Mar 2006 08:14:50 -0800
"Nicholas Sherlock" <N.sherlock@xxxxxxxxx> wrote in message
news:e07hri$sk1$1@xxxxxxxxxxxxxxxxxx
Bob Richardson wrote:
procedure TForm1.Button1Click(Sender: TObject);
begin
MessageBeep(MB_ICONASTERISK);
end;
Is it possible that Delphi is looking in the wrong directory for these
WAV files?
No, Delphi doesn't do anything to play the sound. All of the Delphi code
involved is that single line, the rest is up to the Windows API. Which
Windows version are you using?
WinXP home edition, updated 'automatically' by MS.
This works:
Windows.Beep(Freq, Duration)
but I'd really like to use the API method.
.
- References:
- No Beep!
- From: Bob Richardson
- Re: No Beep!
- From: Rob Kennedy
- Re: No Beep!
- From: Bob Richardson
- Re: No Beep!
- From: Nicholas Sherlock
- No Beep!
- Prev by Date: Re: TStringGrid.DrawCell - Not Updating The Correct Cell
- Next by Date: Re: TStringGrid.DrawCell - Not Updating The Correct Cell
- Previous by thread: Re: No Beep!
- Next by thread: Fast Track towards using an existing application on the Internet
- Index(es):