I am trying to write a VC++ 6 MFC application and someting seems to have gone wrong with VC++ itself. Not only is the application i am writing right now isnt working, all the other stuff i wrote (that worked perfectly well) has stopped working as well. All applications are generating the same set of errors and i dont understand why.
--------------------Configuration: 3by3 Matrix - Win32 Debug-------------------- Compiling resources... Compiling... StdAfx.cpp c:\program files\microsoft visual studio\vc98\include\windef.h(158) : error C2143: syntax error : missing ';' before '*' c:\program files\microsoft visual studio\vc98\include\windef.h(158) : error C2501: 'PBYTE' : missing storage-class or type specifiers c:\program files\microsoft visual studio\vc98\include\windef.h(162) : error C2143: syntax error : missing ';' before '*' c:\program files\microsoft visual studio\vc98\include\windef.h(162) : error C2501: 'PWORD' : missing storage-class or type specifiers c:\program files\microsoft visual studio\vc98\include\winnt.h(7232) : fatal error C1004: unexpected end of file found Error executing cl.exe.
3by3 Matrix.exe - 5 error(s), 0 warning(s)
Initially i was getting 50 errors or similar type in windef, winnt etc. However I added some libraries (that i am using in the current application) into windef and winnt and most of the errors disappeared.
Please help, ive been at it for an entire day and nothing seems to solve the problem.
Hi Amber. I am afraid that VC6 support has ended. If you have a new Windows SDK, that could cause it, the Windows SDK is not supporting VC6 anymore either. Either way, try www.codeproject.com, as the question is off topic here.