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:
Code:
LPDIRECTDRAW7 lpDD7 = NULL;
DirectDrawCreateEx(NULL, &lpDD7, IID_IDirectDraw7, NULL);
I get this:
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 V4.9.9.2

I have no idea what going on help plz