syntax error C2146
-
WHEN I TRY TO COMPIL, I HAVE THE NEXT MESSAGE DEBUG WIN32 COMPILING stdafx.cpp C:\Program files .....\include\winnt.h(1092) error C2146: Syntax error: missing ';' before identifier 'KSPIN_LOCK' C:\Program files .....\include\winnt.h(1092) fatal error C1004: unexpected end of file found im working with winMe and, in some case i try to use direct x (#include ) so... help me !!!
-
WHEN I TRY TO COMPIL, I HAVE THE NEXT MESSAGE DEBUG WIN32 COMPILING stdafx.cpp C:\Program files .....\include\winnt.h(1092) error C2146: Syntax error: missing ';' before identifier 'KSPIN_LOCK' C:\Program files .....\include\winnt.h(1092) fatal error C1004: unexpected end of file found im working with winMe and, in some case i try to use direct x (#include ) so... help me !!!
It would help if you gave us the line in question, but the second error usually means that you have precompiled headers turned on, and you've not included stdafx.h Christian Graus - Microsoft MVP - C++
-
It would help if you gave us the line in question, but the second error usually means that you have precompiled headers turned on, and you've not included stdafx.h Christian Graus - Microsoft MVP - C++
Christian Graus wrote: but the second error usually means that you have precompiled headers turned on, and you've not included stdafx.h Won't that lead to a part of the message like: "... while looking for precompiled header."? I also got the blogging virus..[^]
-
WHEN I TRY TO COMPIL, I HAVE THE NEXT MESSAGE DEBUG WIN32 COMPILING stdafx.cpp C:\Program files .....\include\winnt.h(1092) error C2146: Syntax error: missing ';' before identifier 'KSPIN_LOCK' C:\Program files .....\include\winnt.h(1092) fatal error C1004: unexpected end of file found im working with winMe and, in some case i try to use direct x (#include ) so... help me !!!
mikelon wrote: C:\Program files .....\include\winnt.h(1092) fatal error C1004: unexpected end of file found Check for a missing parenthesis, brace, comment, semicolon, or #endif. The file must also end with a carriage return–linefeed pair.
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown