🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.multimedia
Article #158

Direct sound

#158
From: Kresten Tolstrup
Date: Mon, 23 Apr 2007 13:58
11 lines
1265 bytes
Hi,
I intend to use direct sound from DirectX. do anyone have any examples?
If I take a new project, include the file dsound.h, and then define the variabel: LPDIRECTSOUND pds;, compile the project, then I get the following errors: 
[C++ Error] dsound.h(62): E2257 , expected
[C++ Error] dsound.h(129): E2303 Type name expected
[C++ Error] dsound.h(129): E2139 Declaration missing ;
I'm using BCB6.
Does anyone know what is missing?
Best Regards
Kresten
Technical Details
Message-ID: <462cbb6e$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10d0fc,413990ad8b62936,start
X-Google-Attributes: gid10d0fc,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Kresten Tolstrup" <kt@danphone.com>
Sender: "Kresten Tolstrup" <kt@danphone.com>
Reply-To: "Kresten Tolstrup" <kt@danphone.com>
Subject: Direct sound
Newsgroups: borland.public.cppbuilder.multimedia
X-User-Info: 80.162.206.172     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <462cbb6e$1@newsgroups.borland.com>
Date: 23 Apr 2007 06:58:06 -0700
X-Trace: newsgroups.borland.com 1177336686 207.105.83.66 (23 Apr 2007 06:58:06 -0700)
Lines: 11
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail