🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.shareware.programmer
Article #84

Re: Alternative to beep with Windows 95

#84
From: 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
Technical Details
Message-ID: <7028jn$po1$3@nyheter.chalmers.se>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6vkmk8$d4k$1@jaydee.iway.fr> <3623D952.D431C27C@bctel.ca>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 112bf7,6289afe3cf979f09
X-Google-Attributes: gid112bf7,public
X-Google-Thread: 103bde,6289afe3cf979f09
X-Google-Attributes: gid103bde,public
X-Google-Thread: 1145b7,6289afe3cf979f09
X-Google-Attributes: gid1145b7,public
X-Google-Thread: 11431d,6289afe3cf979f09
X-Google-Attributes: gid11431d,public
X-Google-Thread: 10461f,6289afe3cf979f09
X-Google-Attributes: gid10461f,public
X-Google-Thread: 1105ff,6289afe3cf979f09
X-Google-Attributes: gid1105ff,public
X-Google-Thread: f801d,6289afe3cf979f09
X-Google-Attributes: gidf801d,public
From: md7amag@mdstud.chalmers.se (Andreas Magnusson)
Subject: Re: Alternative to beep with Windows 95
Date: 1998/10/14
Message-ID: <7028jn$po1$3@nyheter.chalmers.se>
X-Deja-AN: 400971187
References: <6vkmk8$d4k$1@jaydee.iway.fr> <3623D952.D431C27C@bctel.ca>
Content-Type: text/plain; charset=us-ascii
Organization: Chalmers University of Technology
Mime-Version: 1.0
Newsgroups: alt.comp.shareware.programmer,borland.public.cpp.winapi,comp.games.development.programming.misc,comp.os.ms-windows.programmer,comp.os.ms-windows.programmer.winhelp,comp.windows.ms.programmer,microsoft.public.win32.programmer,microsoft.public.win32.