looks easy, but dont work, just the first time
-
Im try to make a simple application with window, when i do this , the first time, it works very well, but when i save the c++ file, the compiler save like a space work or like a projec. when i try to use the program in another day,don´t work !!! : and have the next message: (the programm have #include stdafx.h, don´t have precompiler headers activated, and don´t have erros (is very short the code !!! (the firs time, always work)) and 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 so... help me !!!
-
Im try to make a simple application with window, when i do this , the first time, it works very well, but when i save the c++ file, the compiler save like a space work or like a projec. when i try to use the program in another day,don´t work !!! : and have the next message: (the programm have #include stdafx.h, don´t have precompiler headers activated, and don´t have erros (is very short the code !!! (the firs time, always work)) and 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 so... help me !!!
Assuming you have not touched the
stdafx.cpp
file, what does thestdafx.h
file look like?
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown