StrokesPlus.net
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
adyy  
#1 Posted : Friday, October 29, 2021 2:45:37 AM(UTC)
adyy

Rank: Member

Reputation:

Groups: Approved
Joined: 8/25/2019(UTC)
Posts: 20
China

Was thanked: 1 time(s) in 1 post(s)
How to use WINAPI BOOL Beep (DWORD dwfreq; DWORD dwduration) function? Thanks
Rob  
#2 Posted : Tuesday, November 23, 2021 2:24:34 PM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 1,066
United States
Location: Tampa, FL

Thanks: 22 times
Was thanked: 315 time(s) in 276 post(s)
Just use the .NET framework Console.Beep, same thing internally.
Code:
System.Console.Beep(800, 1000); //800Hz for 1000 milliseconds

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.