Entwickler-Ecke

Basistechnologien - Console.Beep: 64-bit Alternative?


Hidden - Sa 28.08.10 13:45
Titel: Console.Beep: 64-bit Alternative?
Moin!

Hier [http://csharp-tricks.blogspot.com/2010/05/beep-ausgeben.html] habe ich gelesen, dass user profile iconConsole.Beep()Console.Beep() zwar die Funktionen von Beep() erfüllt, aber nicht auf 64-bit Systemen funktioniert.
Wie ist so etwas überhaupt möglich, wo alle 32-bit DLLs noch vorliegen :?!?:
Was verwendet man denn da passenderweise?

lg,


Moderiert von user profile iconChristian S.: Topic aus C# - Die Sprache verschoben am Sa 28.08.2010 um 13:49


Kha - Sa 28.08.10 14:05

Das gilt aber, wie auf MSDN richtig vermerkt, nicht mehr für Win7 x64:
http://blogs.msdn.com/b/larryosterman/archive/2010/01/04/what-s-up-with-the-beep-driver-in-windows-7.aspx hat folgendes geschrieben:
For Windows 7, we resolved the issue completely – we moved all the functionality that used to be contained in Beep.Sys into the user mode system sounds agent – now when you call the Beep() API instead of manipulating the 8254 chip the call is re-routed into a user mode agent which actually plays the sounds.