Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compiler Errors in Winuser.h, et al...

Status
Not open for further replies.

ColdWinterWind

Programmer
Dec 18, 2005
1
0
0
US
I ran into these two errors...

Code:
\include\winuser.h(39) : error C2146: syntax error : missing ';' before identifier 'HDWP'
\include\winuser.h(39) : fatal error C1004: unexpected end of file found

...and found a simple fix here at TekTips posted back in April, to include "windows.h"; but in my case it was already included, right beneath the winuser.h line in my source file.

I had to move 'windows.h' to the line ABOVE 'winuser.h', and the errors went away.

Thanks guys, I'm in
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top