• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

No beep

Hi,
Hardware wise the beep on my pc works,ie the post is signaled by a peep. But in Win 7 64 bit, no beeps. To make sure, I wrote a code with Beep and MessageBeep functions, None of them worked. Any ideas?
 
Microsoft removed the beep functionality with windows vista. There is no way (that I've been able to find) to use the hardware beeper from windows vista on up.
 
Worked for me in x64?

Code:
Beep( 750, 300 );
MessageBeep(-1);
In pre CreateWindow and in the message loop.

http://msdn.microsoft.com/en-us/library/ms679277(VS.85).aspx

http://msdn.microsoft.com/en-us/library/ms680356(v=VS.85).aspx


Thanks. 🙂
Beep( 750, 300 ) works on soundcard. But not on mainboard speaker, which is where I want it to work. MessageBeep does not work at all. maybe someone in the know will take the bother and write an app which allows mainboard beep to be used again.
 
Does writing the ascii bell code to the console work? I think it was 0x07 or something in that neighborhood.
 
Try entering "echo " followed by Control-G and enter, at a command prompt.
 
It seems there's no way to do it from Win. Sending ASCII bell (which really is 7 btw) didn't work either. I even tried with ASM by sending INT 21h, but I get access violation during run-time. I guess Win Vista/7 doesn't let you access HW directly any more...
 
It seems there's no way to do it from Win. Sending ASCII bell (which really is 7 btw) didn't work either. I even tried with ASM by sending INT 21h, but I get access violation during run-time. I guess Win Vista/7 doesn't let you access HW directly any more...

There has to be a way.
Why has windows become such an Anti beep?
A beep driver does get loaded with windows. beep.sys
 
Maybe it could be done from kernel mode, but I don't have time to play with signing requirements and what not. So OP is on his own there, unless there's someone here who worked on driver dev for Vista/7.
 
Back
Top