News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Vista Beep Test

Started by dedndave, March 05, 2012, 04:30:09 AM

Previous topic - Next topic

dedndave

could someone with Vista test this - i want to know if it beeps
please check your volume/mute first   :bg

as i understand it, Beep does not work under vista
so, i want to test this method

donkey

Tried it on a Vista64 and Vista32 virtual box and it didn't beep.
"Ahhh, what an awful dream. Ones and zeroes everywhere...[shudder] and I thought I saw a two." -- Bender
"It was just a dream, Bender. There's no such thing as two". -- Fry
-- Futurama

Donkey's Stable

dedndave

thanks Edgar
i guess you have to go with PlaySound or better   :P

jj2007

Dave,
Just tested: both conout 7 and Beep freq, duration work under Win7.
Jochen

Tedd

Beep(freq,duration) works on all versions XP+ as far as I know, you'll just have to guess appropriate values if you want to simulate the 'bell' character.
No snowflake in an avalanche feels responsible.

donkey

Quote from: Tedd on March 05, 2012, 12:53:08 PM
Beep(freq,duration) works on all versions XP+ as far as I know, you'll just have to guess appropriate values if you want to simulate the 'bell' character.


I haven't tried it under Vista but Microsoft says it was dropped:

Quote from: MSDN - Beep function Eventually because of the lack of hardware to communicate with, support for Beep was dropped in Windows Vista and Windows XP 64-Bit Edition.

In Windows 7, Beep was rewritten to pass the beep to the default sound device for the session. This is normally the sound card, except when run under Terminal Services, in which case the beep is rendered on the client.

Ofcourse the function may have been made available through a service pack or patch.
"Ahhh, what an awful dream. Ones and zeroes everywhere...[shudder] and I thought I saw a two." -- Bender
"It was just a dream, Bender. There's no such thing as two". -- Fry
-- Futurama

Donkey's Stable

mineiro

Tested this example under Xp 64 and doesn't beep.

dedndave


merlin

It beeps on windows 7 x64
I would love to change the world, but they won't give me the source code.
0100010100111101011011010110001100110010

dedndave

thanks, merlin
welcome to the forum   :U