Re: No Beep!



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?

Cheers,
Nicholas Sherlock

--
http://www.sherlocksoftware.org
.


Quantcast