Ok i have just ddraw.h, dinput.h, and dsound.h header files in my program from DirectX 9 SDK, with their lib's linked respectivly and all the correct header search paths. So when i compile my program, keep in mind that this is with no DirectX code at all and just the header files, i am getting crazy errors from the dsound.h header file.
Here are some:
`LPWAVEFORMATEX' does not name a type
`SetFormat' declared as a `virtual' field
and the list goes on.
ok then there is when i disinclude dsound.h and just try to make my interface pointer with:
I get this:
LPDIRECTDRAW7 lpDD7 = NULL;
DirectDrawCreateEx(NULL, &lpDD7, IID_IDirectDraw7, NULL);
expected constructor, destructor, or type conversion before '(' token
expected `,' or `;' before '(' token
Both highlighting that line of code
Note: i am using Dev Cpp compiler V22.214.171.124
I have no idea what going on help plz