I'm getting weird errors in headers that I'm including in my code. I included winuser.h to call the SetTimer and KillTimer functions and I get the following errors:
c:\microsoft visual studio\vc98\include\winuser.h(39) : error C2146: syntax error : missing ';' before identifier 'HDWP'
c:\microsoft visual studio\vc98\include\winuser.h(39) : fatal error C1004: unexpected end of file found
I get the same kind of problem when I include dsound.h. I get 14 errors from including that header.
I've added the dsound.lib to the Link tab of the project settings. User32.lib was already there for the winuser.h.
I'm stumped! Any help would be appreciated.