Hi all. I'm using C++Builder 6 from Borland.
I'm about to begin DSound programming but i get a compiler problem when including DSound.h
Exactly the problem is on line 60 @ this entries:
#ifndef _LPCWAVEFORMATEX_DEFINED
#define _LPCWAVEFORMATEX_DEFINED
typedef const WAVEFORMATEX *LPCWAVEFORMATEX; <--line 62
#endif // _LPCWAVEFORMATEX_DEFINED
[C++ Error] Dsound.h(62): E2257 , expected
[C++ Error] Dsound.h(129): E2303 Type name expected
[C++ Error] Dsound.h(129): E2139 Declaration missing ;
[C++ Error] Dsound.h(143): E2303 Type name expected
[C++ Error] Dsound.h(143): E2139 Declaration missing ;
[C++ Error] Dsound.h(194): E2303 Type name expected
[C++ Error] Dsound.h(194): E2139 Declaration missing ;
those next errors are caused by the first error.
any advice?:\
thank you all.