Re: No Beep!




"Rob Kennedy" <me3@xxxxxxxxxxx> wrote in message
news:48m8gjFkm8f1U1@xxxxxxxxxxxxxxxxx
Bob Richardson wrote:
When I execute this, I hear no sound. My volume is cranked up to the max
on my speakers. What could be preventing this sound?

MessageBeep(MB_ICONASTERISK);

Do you have a system sound configured for that event? Check in the control
panel.

Yes. When I click the "Play Sound" button, (next to browse) in the Sounds
Tab, I hear the correct sound.

To test that my large app hasn't messed something up, I created a new app
with just a single button with

procedure TForm1.Button1Click(Sender: TObject);
begin
MessageBeep(MB_ICONASTERISK);
end;


This doesn't work either. No other sounds work. (e.g., MB_OK,
MB_Exclamation) All my volume controls are to the max. However, I do hear
the sound from the Control Panel.

Is it possible that Delphi is looking in the wrong directory for these WAV
files?


.


Quantcast