对不起,你的方案我早就试过,NT下可行,或win9x的机器没装声卡也行.
Windows 95: The Beep function ignores the dwFreq and dwDuration parameters. On computers with a sound card, the function plays the default sound event. On computers without a sound card, the function plays the standard system beep.