• Advertisement
Sign in to follow this  

How to Beep under Windows?

This topic is 4124 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

My application needs to get the User's attention using sound, so I would like it to Beep. I'm using C++, which is the simplest WinAPI function call to achieve this? Thank you.

Share this post


Link to post
Share on other sites
Advertisement
Thank you, that was exactly what I was looking for [wink].

Rating++;

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
printf("\a");

Share this post


Link to post
Share on other sites
prolly not a good idea to rely on, since many users like myself
have either no conected the onboard speaker, or crushed the beep diode thingee

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement