Re: Compiling with VC++ 5.0

From: Richard Dobson (rwd@cableinet.co.uk)
Date: Wed Apr 05 2000 - 04:37:54 EDT


Don't forget you also need the relevant new header files from the SDK -
it's not enough just to install the runtime libraries. The struct
DIRECTSOUNDNOTIFY is defined in one of the headers.

Richard Dobson

Martin Marier wrote:
>
> Hello,
>
> I've downloaded the latest version of DX (now 7.0a) and it didn't change
> anything. But, I noticed that I have a french version dsound.dll installed.
> Do you think it could be causing the problem ?
>
> Anyway, I'll try to find an english version to see if it can change
> something.
>
> Thanks alot to all of you who helped me (And, hopefully, will continue to do
> so... :)
>
> Martin Marier
>
> >Hi Martin,
> >
> > Hopefully someone with Windows experience will chime in with
> >an answer to your dsound problem -- looking at the code you posted,
> >the only suggestion I'd have would be:
> >
> >speedtrealtime.c(724) : error C2282: 'LPDIRECTSOUNDNOTIFY' is followed by
> > 'lpDsNotify' (missing ','?)
> >
> > Looking at the top of dsound.c:
> >
> >LPDIRECTSOUND lpDirectSound;
> >LPDIRECTSOUNDBUFFER lpDsb;
> >LPDIRECTSOUNDBUFFER lpPrDsb;
> >LPDIRECTSOUNDNOTIFY lpDsNotify;
> >
> > this label is several lines in, so it seems to know some but not
> >all of the LPDIRECTSOUND* defines. Could it be that the version of
> >Directsound you have installed on your machine is older than the version
> >dsound.c was written for, and so some data structures aren't known?

-- 
Test your DAW with my Soundcard Attrition Page!
http://wkweb5.cableinet.co.uk/rwd (LU: 17th September 1999)
CDP: http://www.bath.ac.uk/~masjpf/CDP/CDP.htm (LU: 23rd February 2000)



This archive was generated by hypermail 2b29 : Mon Jan 28 2002 - 11:46:38 EST