Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Khaos Dragon

simple beep in windows

This topic is 5574 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

Yep I have win32 app but am using SDL so I don''t have any direct access to any program or window handles, but I still want to be able to make a system beep. Now I know I could just use a sound library for this but I was wondering if there was a way to do something like System( BEEP ); on a windows operating system.

Share this post


Link to post
Share on other sites
Advertisement
STFW. Specifically, STF MSDN. http://msdn.microsoft.com .


How appropriate. You fight like a cow.

Share this post


Link to post
Share on other sites
#include <windows.h>

Beep( dwFrequency, dwDuration );

[edited by - mauman on June 19, 2003 6:26:39 PM]

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!