Im not sure how much of this is due to me never using Visual C++ before. I typically write C++ in Dev-Cpp. I'll show the first few errors.
1>c:\program files\microsoft visual studio 8\vc\include\winnt.h(3035) : warning C4103: 'c:\program files\microsoft visual studio 8\vc\include\winnt.h' : alignment changed after including header, may be due to missing #pragma pack(pop)
1>c:\program files\microsoft visual studio 8\vc\include\winnt.h(3327) : warning C4103: 'c:\program files\microsoft visual studio 8\vc\include\winnt.h' : alignment changed after including header, may be due to missing #pragma pack(pop)
1>c:\program files\microsoft visual studio 8\vc\include\winnt.h(3423) : warning C4068: unknown pragma
1>c:\program files\microsoft visual studio 8\vc\include\winnt.h(3428) : warning C4068: unknown pragma
1>c:\program files\microsoft visual studio 8\vc\include\winbase.h(1252) : error C2054: expected '(' to follow 'DECLSPEC_NORETURN'
1>c:\program files\microsoft visual studio 8\vc\include\winbase.h(1252) : error C2085: 'ExitProcess' : not in formal parameter list
1>c:\program files\microsoft visual studio 8\vc\include\winbase.h(1253) : error C2061: syntax error : identifier 'DECLSPEC_NORETURN'
1>c:\program files\microsoft visual studio 8\vc\include\winbase.h(1313) : error C2054: expected '(' to follow 'DECLSPEC_NORETURN'
1>c:\program files\microsoft visual studio 8\vc\include\winbase.h(1313) : error C2085: 'FreeLibraryAndExitThread' : not in formal parameter list
1>c:\program files\microsoft visual studio 8\vc\include\winbase.h(1317) : error C2085: 'FreeResource' : not in formal parameter list
1>c:\program files\microsoft visual studio 8\vc\include\winbase.h(1319) : error C2085: 'FreeSid' : not in formal parameter list
1>c:\program files\microsoft visual studio 8\vc\include\winbase.h(1320) : error C2085: 'GetAce' : not in formal parameter list
1>c:\program files\microsoft visual studio 8\vc\include\winbase.h(1321) : error C2085: 'GetAclInformation' : not in formal parameter list
1>c:\program files\microsoft visual studio 8\vc\include\winbase.h(1322) : error C2085: 'GetAtomNameA' : not in formal parameter list
1>c:\program files\microsoft visual studio 8\vc\include\winbase.h(1323) : error C2085: 'GetAtomNameW' : not in formal parameter list
after that all the errors say that these functions are not in the formal parameter list.