🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.comp.shareware.programmer
4 messages
4 total messages Started by Christophe Caissotti Fri, 09 Oct 1998 00:00
Alternative to beep with Windows 95
#80
Author: Christophe Caissotti
Date: Fri, 09 Oct 1998 00:00
7 lines
1492 bytes
Beep doesnt' work with Windows 95. Is there a alternative way to play simple
sound ( just
a frequency and a duration )

Thanks for your help,

Christophe
Re: Alternative to beep with Windows 95
#82
Author: Ed Guy
Date: Fri, 09 Oct 1998 00:00
26 lines
2390 bytes
Christophe Caissotti wrote:
> 
> Beep doesnt' work with Windows 95. Is there a alternative way to play simple
> sound ( just
> a frequency and a duration )
> 
> Thanks for your help,
> 
> Christophe

Since you asked this in the WinHelp group I assume you mean you want a 
simple sound from your HLP file.
Easiest is to use one of the "standard" WAV files (e.g. DING.WAV or 
TADA.WAV), which get installed on everyone's machine.  All of the help 
author tools (I think) will assist you in adding such a sound.  I know 
HELLLP! will (http://www.guysoftware.com/helllp.html).
If you want a non-standard WAV file, you can do that too, but then you 
have to ship it with your application.

-- 
Ed Guy P.Eng,CDP,MIEE
Information Technology Consultant
Internet: ed_guy@NOSPAMguysoftware.com  remove NOSPAM from email address.
http://www.guysoftware.com
"Check out HELLLP!, WinHelp author tool for WinWord 2.0 through 8.0
 and ParseRat, the File Parser, Converter and Reorganizer"
Re: Alternative to beep with Windows 95
#83
Author: Ed Toivanen
Date: Tue, 13 Oct 1998 00:00
23 lines
1818 bytes
<TOUNGINCHEEK>

Have you checked out the DirectBeep family of functions from DirectX 6?
It's great!  Why would someone need a "int beep(int freq, int time)"
function when you can instantiate a whole bucketload of com objects to
do the same thing?  Amaze your friends!  Scare them away from a
programming job!  Make lots of money!

Viva Microsoft!

Ed
</TOUNGINCHEEK>


Christophe Caissotti wrote:
> 
> Beep doesnt' work with Windows 95. Is there a alternative way to play simple
> sound ( just
> a frequency and a duration )
> 
> Thanks for your help,
> 
> Christophe
Re: Alternative to beep with Windows 95
#84
Author: Andreas Magnusson
Date: Wed, 14 Oct 1998 00:00
33 lines
2197 bytes
In article <3623D952.D431C27C@bctel.ca>,
	Ed Toivanen <e_toivanenl@bctel.ca> writes:
> <TOUNGINCHEEK>
> 
> Have you checked out the DirectBeep family of functions from DirectX 6?
> It's great!  Why would someone need a "int beep(int freq, int time)"
> function when you can instantiate a whole bucketload of com objects to
> do the same thing?  Amaze your friends!  Scare them away from a
> programming job!  Make lots of money!
> 
> Viva Microsoft!
> 
> Ed
> </TOUNGINCHEEK>
> 

Hey, how do you instanceiate the DirectBeepPattern object? I've tried
to do

lpDB->CreatePattern(NULL, &lpDBP, DBCP_BEEPALLTHETIME |
  DBCP_BEEPCONSTANT | DBCP_USETHEMOSTANNOYINGSOUNDPOSSIBLE |
  DBCP_BEEPALLCOMPUTERSINTHENETWORK | BCP_BEEPEVENIFREBOOTED);

But it will only return DBERR_WHYTHEFUCKDOYOUWANTTODOTHAT.

I don't know what to do! Help me please!



/Andreas Magnusson

"Obesa cantavit."
http://www.mdstud.chalmers.se/~md7amag
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads