[Dev-C++] can't make MessageBeep() beep!
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Jarren L. <vb...@gm...> - 2005-03-13 06:38:21
|
OK, I feel really stupid right now. I'm making a console game(or
starting to), and I want the console to beep certain sounds to make a
sort of old-style song. I've been testing the messageBeep for hours
now, and I can't get it to work. Here's a sample of what I've written:
#include "windows.h"
int main()
{
MessageBeep(128);
return 0;
}
When I compile the program, it runs fine, but all it does is make a
"click" sound, not a beep. What's going on?
|