MessageBeep(0); API does not work WIN Vista

Gast #1042320
Lesenswert?

Hi Experts,

I am using Visual Studio VC6 on WIN Vista.
Is there a replacement API call for the old MessageBeep(0);?

Cause it is not working in Vista.

Please advise.

I want to notify the user when a certain error occurs
by playing the standard windows beep.
I used MessageBeep(0);  function for that.
But there comes nothing out of my speakers !

What I'm doing wrong ?
And how do I get a beep out of it ?

In other Platforms like WIN-XP
The API Win32.Beep or MessageBeep(0);
Is ok  to hear a beeping sound !
Thanks,
Holger

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren