I've been working on a program on a Windows 2k computer, its a console application. It won't do anything at my home computer (running windows XP) because it uses the beep() function to access the PC speaker directly.

Now, since I'm using XP and it doesn't like my accessing the PC speaker directly, is there some other function or some way to make it beep different tones in XP (other than installing the DOS files like command.com)?

Thanks!