` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please add your comments to this article. Please note that you must provide both a name and a valid email address in order for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Par2: BEEPing the speaker
2003-07-19 -- George Curtis
 
! Place this in: Global > Embeds > Inside the Global Map Module('kernel32.DLL') DOSBeep(Long dwFreq, Long dwDuration),Long,Raw,Pascal,Name('Beep'),Proc End ! NOTE: The actual API prototype is Beep NOT DOSBeep. The name has been changed to avoid compiler errors due to ! the Clarion Beep statement. Declare to variables (global or local depending on your needs): Freq Long ! frequency of the sound Last Long ! duration of the sound Call the function from anywhere as in the example below: DOSBeep(Freq, Last)


Today is May 7, 2024, 10:08 pm
This article has been viewed 35120 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: