C++ compilation error in standard windows SDK files - c++

I'm getting a weird compilation error like below.
I see none of the errors point to my source files. But still my VS2017 C++ DLL project doesn't compile because, of the below compilation errors which are in standard windows SDK files.
I'm not sure what this means & how to fix it. Any suggesstions would be helpful.
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\prsht.h(609): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\prsht.h(609): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(268): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(268): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(273): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(273): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(286): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(286): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(302): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(302): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(310): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(310): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(460): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(460): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(477): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(477): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1116): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1116): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1125): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1125): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1141): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1141): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1152): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1152): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1172): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1172): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1675): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1675): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1717): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1717): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1728): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1728): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1740): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1740): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1749): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1749): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1771): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1771): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1781): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1781): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1822): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1822): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1831): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1831): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(2120): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(2120): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(2129): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(2129): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(2145): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(2145): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(2153): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(2153): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(2470): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(2470): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(2479): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(2479): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(2831): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(2831): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4435): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4435): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4453): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4453): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4506): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4506): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4517): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4517): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4524): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4524): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4553): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4553): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4620): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4620): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4625): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4625): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4645): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4645): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4668): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4668): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4679): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4679): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5429): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5429): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5438): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5438): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5477): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5477): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5482): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5482): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5558): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5558): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5609): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5609): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5618): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5618): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5780): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5780): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5785): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5785): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5834): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5834): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5841): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5841): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5861): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5861): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5869): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5869): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6204): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6204): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6573): error C3646: 'nmhdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6573): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6590): error C3646: 'nmhdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6590): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6609): error C3646: 'nmhdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6609): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6776): error C3646: 'nmhdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6776): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6785): error C3646: 'nmhdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6785): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6793): error C3646: 'nmhdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6793): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6814): error C3646: 'nmhdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6814): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6822): error C3646: 'nmhdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6822): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6843): error C3646: 'nmhdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6843): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6852): error C3646: 'nmhdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6852): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6874): error C3646: 'nmhdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6874): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6881): error C3646: 'nmhdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6881): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6939): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6939): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(7097): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(7097): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(7118): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(7118): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(7141): error C3646: 'hdr': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(7141): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(7770): error C2061: syntax error: identifier 'LPSCROLLINFO'
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(7785): error C2061: syntax error: identifier 'LPSCROLLINFO'
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\shlobj_core.h(563): error C2061: syntax error: identifier 'LPSHELLEXECUTEINFOA'
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\shlobj_core.h(571): error C2061: syntax error: identifier 'LPSHELLEXECUTEINFOW'

You get this error because NMHDR is undefined. Just #include <windows.h> before you include commctrl.h
#include <windows.h>
#include <commctrl.h>
...
See also compiler error c3646

Related

C++: PlaySound() gives 100+ compilation errors [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 months ago.
Improve this question
I am trying to play a sound in C++. When I use the PlaySound() function, Visual Studio gives 100+ compilation errors (I know this because the compiler stops at 100 errors). Below is my code:
#include <mmsystem.h>
#include <windows.h>
int main()
{
bool played = PlaySound(TEXT("sound.wav"), NULL, SND_SYNC);
return 0;
}
Visual Studio's linter also gives the error:
identifier PlaySoundW is undefined
This is the compilation output:
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(94,30): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(94,21): error C2146: syntax error: missing ';' before identifier 'MMVERSION'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(98,32): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(98,32): error C2059: syntax error: 'return'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(102,20): error C2143: syntax error: missing ';' before '*'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(102,27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(112,21): error C3646: 'ms': unknown override specifier
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(112,23): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(113,21): error C3646: 'sample': unknown override specifier
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(113,27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(114,21): error C3646: 'cb': unknown override specifier
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(114,23): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(115,21): error C3646: 'ticks': unknown override specifier
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(115,26): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(120,21): error C3646: 'hour': unknown override specifier
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(120,25): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(121,21): error C3646: 'min': unknown override specifier
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(121,24): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(122,21): error C3646: 'sec': unknown override specifier
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(122,24): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(123,21): error C3646: 'frame': unknown override specifier
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(123,26): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(124,21): error C3646: 'fps': unknown override specifier
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(124,24): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(125,21): error C3646: 'dummy': unknown override specifier
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(125,26): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(127,21): error C3646: 'pad': unknown override specifier
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(127,24): error C2143: syntax error: missing ',' before '['
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(127,27): error C2238: unexpected token(s) preceding ';'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(134,19): error C3646: 'songptrpos': unknown override specifier
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(134,29): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(137,26): error C2143: syntax error: missing ';' before '*'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(137,35): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(137,41): error C2143: syntax error: missing ';' before '*'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(137,41): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(137,41): error C2377: 'FAR': redefinition; typedef cannot be overloaded with any other symbol
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(102): message : see declaration of 'FAR'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(137,50): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(275,21): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(275,16): error C2065: 'HDRVR': undeclared identifier
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(297,24): error C2146: syntax error: missing ')' before identifier 'DRVCALLBACK'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(297,24): error C2146: syntax error: missing ';' before identifier 'DRVCALLBACK'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(297,35): error C2059: syntax error: ')'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(297,43): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(297,37): error C2065: 'HDRVR': undeclared identifier
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(297,43): error C2146: syntax error: missing ')' before identifier 'hdrvr'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(299,25): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(299,25): error C2378: 'DRVCALLBACK': redefinition; symbol cannot be overloaded with a typedef
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(297): message : see declaration of 'DRVCALLBACK'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(299,21): error C2146: syntax error: missing ';' before identifier 'FAR'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(299,25): error C2143: syntax error: missing ';' before '*'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(299,21): error C2086: 'int FAR': redefinition
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(137): message : see declaration of 'FAR'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(299,39): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(301,25): error C2143: syntax error: missing ';' before '*'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(301,25): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(301,25): error C2378: 'DRVCALLBACK': redefinition; symbol cannot be overloaded with a typedef
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(297): message : see declaration of 'DRVCALLBACK'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(301,38): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(37,25): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(37,17): error C2146: syntax error: missing ';' before identifier 'MCIERROR'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(45,24): error C2143: syntax error: missing ')' before '*'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(45,24): error C2143: syntax error: missing ';' before '*'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(45,15): error C2371: 'CALLBACK': redefinition; different basic types
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(297): message : see declaration of 'CALLBACK'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(45,34): error C2059: syntax error: ')'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(45,73): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(52,1): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(51,1): error C2146: syntax error: missing ';' before identifier 'MCIERROR'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(62,1): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(60,1): error C2086: 'int DECLSPEC_IMPORT': redefinition
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(50): message : see declaration of 'DECLSPEC_IMPORT'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(61,1): error C2146: syntax error: missing ';' before identifier 'MCIERROR'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(77,1): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(75,1): error C2086: 'int DECLSPEC_IMPORT': redefinition
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(50): message : see declaration of 'DECLSPEC_IMPORT'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(76,1): error C2146: syntax error: missing ';' before identifier 'MCIERROR'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(87,1): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(85,1): error C2086: 'int DECLSPEC_IMPORT': redefinition
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(50): message : see declaration of 'DECLSPEC_IMPORT'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(86,1): error C2146: syntax error: missing ';' before identifier 'MCIERROR'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(102,1): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(100,1): error C2086: 'int DECLSPEC_IMPORT': redefinition
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(50): message : see declaration of 'DECLSPEC_IMPORT'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(101,1): error C2146: syntax error: missing ';' before identifier 'MCIDEVICEID'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(109,1): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(107,1): error C2086: 'int DECLSPEC_IMPORT': redefinition
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(50): message : see declaration of 'DECLSPEC_IMPORT'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(108,1): error C2146: syntax error: missing ';' before identifier 'MCIDEVICEID'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(121,1): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(119,1): error C2086: 'int DECLSPEC_IMPORT': redefinition
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(50): message : see declaration of 'DECLSPEC_IMPORT'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(120,1): error C2146: syntax error: missing ';' before identifier 'MCIDEVICEID'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(129,1): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(127,1): error C2086: 'int DECLSPEC_IMPORT': redefinition
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(50): message : see declaration of 'DECLSPEC_IMPORT'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(128,1): error C2146: syntax error: missing ';' before identifier 'MCIDEVICEID'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(142,1): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(140,1): error C2086: 'int DECLSPEC_IMPORT': redefinition
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(50): message : see declaration of 'DECLSPEC_IMPORT'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(141,1): error C2146: syntax error: missing ';' before identifier 'BOOL'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(151,1): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(149,1): error C2086: 'int DECLSPEC_IMPORT': redefinition
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(50): message : see declaration of 'DECLSPEC_IMPORT'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(150,1): error C2146: syntax error: missing ';' before identifier 'BOOL'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(173,1): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(171,1): error C2086: 'int DECLSPEC_IMPORT': redefinition
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(50): message : see declaration of 'DECLSPEC_IMPORT'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(172,1): error C2146: syntax error: missing ';' before identifier 'BOOL'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(202,1): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(200,1): error C2086: 'int DECLSPEC_IMPORT': redefinition
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(50): message : see declaration of 'DECLSPEC_IMPORT'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(201,1): error C2146: syntax error: missing ';' before identifier 'BOOL'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(499,17): error C3646: 'dwCallback': unknown override specifier
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(499,27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(500,47): error C2143: syntax error: missing ';' before '*'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(500,43): error C2371: 'FAR': redefinition; different basic types
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(137): message : see declaration of 'FAR'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(500,67): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(507,17): error C3646: 'dwCallback': unknown override specifier
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(507,27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(509,16): error C3646: 'lpstrDeviceType': unknown override specifier
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(509,31): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(510,16): error C3646: 'lpstrElementName': unknown override specifier
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(510,32): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(511,16): error C3646: 'lpstrAlias': unknown override specifier
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(511,26): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(514,17): error C3646: 'dwCallback': unknown override specifier
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(514,27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(516,16): error C3646: 'lpstrDeviceType': unknown override specifier
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(516,31): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(517,16): error C3646: 'lpstrElementName': unknown override specifier
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(517,32): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(518,16): error C3646: 'lpstrAlias': unknown override specifier
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(518,26): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(544,17): error C3646: 'dwCallback': unknown override specifier
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(544,27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(547,41): error C2143: syntax error: missing ';' before '*'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(547,37): error C2371: 'FAR': redefinition; different basic types
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(137): message : see declaration of 'FAR'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(547,58): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(552,17): error C3646: 'dwCallback': unknown override specifier
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(552,27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(554,41): error C2143: syntax error: missing ';' before '*'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(554,37): error C2371: 'FAR': redefinition; different basic types
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(137): message : see declaration of 'FAR'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(554,58): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(559,17): error C3646: 'dwCallback': unknown override specifier
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(559,27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(560,17): error C3646: 'dwReturn': unknown override specifier
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(560,25): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(563,45): error C2143: syntax error: missing ';' before '*'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(563,41): error C2371: 'FAR': redefinition; different basic types
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(137): message : see declaration of 'FAR'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(563,65): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(570,15): error C3646: 'dwCallback': unknown override specifier
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(570,25): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(571,15): error C3646: 'lpstrReturn': unknown override specifier
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(571,26): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(575,15): error C3646: 'dwCallback': unknown override specifier
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(575,25): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(576,15): error C3646: 'lpstrReturn': unknown override specifier
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(576,26): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(598,17): error C3646: 'dwCallback': unknown override specifier
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(598,27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(601,53): error C2143: syntax error: missing ';' before '*'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(601,49): error C2371: 'FAR': redefinition; different basic types
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(137): message : see declaration of 'FAR'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(601,77): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(608,17): error C3646: 'dwCallback': unknown override specifier
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(608,27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(609,17): error C3646: 'lpstrReturn': unknown override specifier
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(609,28): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(615,17): error C3646: 'dwCallback': unknown override specifier
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(615,27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(616,17): error C3646: 'lpstrReturn': unknown override specifier
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(616,28): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(644,17): error C3646: 'dwCallback': unknown override specifier
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(644,27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(647,39): error C2143: syntax error: missing ';' before '*'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(647,35): error C2371: 'FAR': redefinition; different basic types
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(137): message : see declaration of 'FAR'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(647,55): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(652,17): error C3646: 'dwCallback': unknown override specifier
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(652,27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(655,17): error C3646: 'hwndBreak': unknown override specifier
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(655,26): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(662,43): error C2143: syntax error: missing ';' before '*'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(662,39): error C2371: 'FAR': redefinition; different basic types
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(137): message : see declaration of 'FAR'
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(662,62): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(669,18): error C3646: 'dwCallback': unknown override specifier
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(669,28): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(670,18): error C3646: 'lpfilename': unknown override specifier
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(670,28): fatal error C1003: error count exceeds 100; stopping compilation
How do I prevent these compilation errors?
Include <windows.h> first, then <mmsystem.h>

having problems including winbase.h

I'm building a program on Visual Studio 2017 and I need Winbase.h in order to write INI files. However when I try to debug the program I'm getting a bunch of errors related to Winbase.h, even though I haven't changed anything in that file.
1>c:\program files (x86)\windows kits\10\include\10.0.17763.0\um\minwinbase.h(47): error C3646: 'nLength': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.17763.0\um\minwinbase.h(47): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.17763.0\um\minwinbase.h(48): error C3646: 'lpSecurityDescriptor': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.17763.0\um\minwinbase.h(48): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.17763.0\um\minwinbase.h(49): error C3646: 'bInheritHandle': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.17763.0\um\minwinbase.h(49): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.17763.0\um\minwinbase.h(53): error C3646: 'Internal': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.17763.0\um\minwinbase.h(53): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.17763.0\um\minwinbase.h(54): error C3646: 'InternalHigh': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.17763.0\um\minwinbase.h(54): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
Looking at minwinbase.h itself my best guess is that it's code for 32-bit windows and I'm using 64-bit. If I'm right, is there any alternative to using winbase.h for 64-bit platforms?

Error including ntdsapi.h and activeds.h in Visual C++ DLL Project

I created a C++ Windows DLL Project in Visual Studio 2017. Following is the code which I have wrote, nothing much but importing the header files so far now.
#include "stdafx.h"
#include "windows.h"
#include "ntdsapi.h"
#include "activeds.h"
#pragma comment(lib, "ntdsapi.lib")
#pragma comment(lib, "activeds.lib")
BOOL APIENTRY DllMain( HMODULE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}
When I tried to compile, I get a lot of errors in the ntdsapi.h and activeds.h headers. But this seems to work fine when I used the same headers in the Windows C++ Console Project.
I need to make use of Active Directory functions defined in ntdsapi.h and activeds.h headers.
Following is the error list:
1>dllmain.cpp
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(924): error C2061: syntax error: identifier 'RPC_AUTH_IDENTITY_HANDLE'
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(934): error C2061: syntax error: identifier 'RPC_AUTH_IDENTITY_HANDLE'
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(960): error C2061: syntax error: identifier 'RPC_AUTH_IDENTITY_HANDLE'
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(971): error C2061: syntax error: identifier 'RPC_AUTH_IDENTITY_HANDLE'
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(996): error C2061: syntax error: identifier 'RPC_AUTH_IDENTITY_HANDLE'
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(1008): error C2061: syntax error: identifier 'RPC_AUTH_IDENTITY_HANDLE'
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(1036): error C2061: syntax error: identifier 'RPC_AUTH_IDENTITY_HANDLE'
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(1050): error C2061: syntax error: identifier 'RPC_AUTH_IDENTITY_HANDLE'
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(1148): error C2061: syntax error: identifier 'RPC_AUTH_IDENTITY_HANDLE'
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(1159): error C2061: syntax error: identifier 'RPC_AUTH_IDENTITY_HANDLE'
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(1172): error C2065: 'RPC_AUTH_IDENTITY_HANDLE': undeclared identifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(1173): error C2146: syntax error: missing ')' before identifier 'AuthIdentity'
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(1531): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(1531): error C2143: syntax error: missing ',' before '*'
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(1542): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(1542): error C2143: syntax error: missing ',' before '*'
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(1724): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(1724): error C2143: syntax error: missing ',' before '*'
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(1740): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(1740): error C2143: syntax error: missing ',' before '*'
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(1794): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(1794): error C2143: syntax error: missing ',' before '*'
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(1806): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(1806): error C2143: syntax error: missing ',' before '*'
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2611): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2611): error C2143: syntax error: missing ',' before '*'
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2621): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2621): error C2143: syntax error: missing ',' before '*'
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2707): error C3646: 'uuidNamingContextObjGuid': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2707): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2708): error C3646: 'uuidSourceDsaObjGuid': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2708): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2709): error C3646: 'uuidSourceDsaInvocationID': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2709): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2710): error C3646: 'uuidAsyncIntersiteTransportObjGuid': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2710): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2731): error C3646: 'uuidNamingContextObjGuid': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2731): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2732): error C3646: 'uuidSourceDsaObjGuid': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2732): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2733): error C3646: 'uuidSourceDsaInvocationID': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2733): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2734): error C3646: 'uuidAsyncIntersiteTransportObjGuid': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2734): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2757): error C3646: 'uuidSourceDsaInvocationID': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2757): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2762): error C3646: 'uuidSourceDsaInvocationID': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2762): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2768): error C3646: 'uuidSourceDsaInvocationID': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2768): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2776): error C3646: 'uuidSourceDsaInvocationID': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2776): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2818): error C3646: 'uuidLastOriginatingDsaInvocationID': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2818): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2827): error C3646: 'uuidLastOriginatingDsaInvocationID': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2827): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2838): error C3646: 'uuidLastOriginatingDsaInvocationID': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2838): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2866): error C3646: 'uuidDsaObjGuid': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2866): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2875): error C3646: 'uuidDsaObjGuid': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2875): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2912): error C3646: 'uuidNamingContextObjGuid': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2912): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2913): error C3646: 'uuidDsaObjGuid': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2913): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2930): error C3646: 'uuidNamingContextObjGuid': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2930): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2931): error C3646: 'uuidDsaObjGuid': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2931): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2957): error C3646: 'uuidLastOriginatingDsaInvocationID': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2957): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2975): error C3646: 'uuidLastOriginatingDsaInvocationID': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2975): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2994): error C3646: 'uuidLastOriginatingDsaInvocationID': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2994): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(3013): error C3646: 'uuidLastOriginatingDsaInvocationID': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(3013): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(3029): error C3646: 'uuidLastOriginatingDsaInvocationID': unknown override specifier
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(3029): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(3091): error C2061: syntax error: identifier 'UUID'
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(3103): error C2061: syntax error: identifier 'UUID'
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(3143): error C2061: syntax error: identifier 'RPC_AUTH_IDENTITY_HANDLE'
1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(3157): error C2061: syntax error: identifier 'RPC_AUTH_IDENTITY_HANDLE'
1>Done building project "AdDll.vcxproj" -- FAILED.
By default, the Dll projects adds this define to the stdafx.h.
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows
Remove this line and rebuild.
More info about the lean and mean.
https://blogs.msdn.microsoft.com/oldnewthing/20091130-00/?p=15863

Compilation errors of a simple C++ project in VS 2012.RC 4

I had a program I could run before upgrading to VS 2012.3 and VS 2012.rc4 (VS ultimate 2012 version 11.0.60930.00 update 4 RC). But It shows some strange errors in some include files after upgrade. Specially, the problem is about the "windows.h" header file. I cannot even compile a simple program, as below. I have also changed the order of include files, but the errors remain. I hope you can help me.
EDIT:
When I change the platform toolset from v11 to v10, the errors disappear and I can compile them correctly.
#include "stdafx.h"
#include "windows.h"
int _tmain(int argc, _TCHAR* argv[])
{
return 0;
}
Errors:
1>c:\program files (x86)\windows kits\8.0\include\shared\rpcndr.h(48): error C2144: syntax error : 'int' should be preceded by ';'
1>c:\program files (x86)\windows kits\8.0\include\shared\rpcndr.h(48): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(116): error C2146: syntax error : missing ';' before identifier 'OLECHAR'
1>c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(116): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(118): error C2143: syntax error : missing ';' before '*'
1>c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(118): error C2373: 'OLECHAR' : redefinition; different type modifiers
1> c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(114) : see declaration of 'OLECHAR'
1>c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(118): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(423): error C2146: syntax error : missing ';' before identifier 'BYTE_BLOB'
1>c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(423): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(431): error C2143: syntax error : missing ';' before '*'
1>c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(431): error C2371: 'WORD_BLOB' : redefinition; different basic types
1> c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(429) : see declaration of 'WORD_BLOB'
1>c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(431): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(439): error C2143: syntax error : missing ';' before '*'
1>c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(439): error C2371: 'DWORD_BLOB' : redefinition; different basic types
1> c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(437) : see declaration of 'DWORD_BLOB'
1>c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(439): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(448): error C2143: syntax error : missing ';' before '*'
1>c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(448): error C2371: 'FLAGGED_BYTE_BLOB' : redefinition; different basic types
1> c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(446) : see declaration of 'FLAGGED_BYTE_BLOB'
1>c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(448): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(457): error C2143: syntax error : missing ';' before '*'
1>c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(457): error C2371: 'FLAGGED_WORD_BLOB' : redefinition; different basic types
1> c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(455) : see declaration of 'FLAGGED_WORD_BLOB'
1>c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(457): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(405): error C2143: syntax error : missing ';' before '*'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(405): error C2371: 'userCLIPFORMAT' : redefinition; different basic types
1> C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(403) : see declaration of 'userCLIPFORMAT'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(405): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(430): error C2143: syntax error : missing ';' before '*'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(430): error C2371: 'userHGLOBAL' : redefinition; different basic types
1> C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(428) : see declaration of 'userHGLOBAL'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(430): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(517): error C2143: syntax error : missing ';' before '*'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(517): error C2371: 'RemotableHandle' : redefinition; different basic types
1> C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(515) : see declaration of 'RemotableHandle'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(517): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(519): error C2143: syntax error : missing ';' before '*'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(519): error C2371: 'RemotableHandle' : redefinition; different basic types
1> C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(515) : see declaration of 'RemotableHandle'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(519): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(521): error C2143: syntax error : missing ';' before '*'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(521): error C2371: 'RemotableHandle' : redefinition; different basic types
1> C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(515) : see declaration of 'RemotableHandle'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(521): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(523): error C2143: syntax error : missing ';' before '*'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(523): error C2371: 'RemotableHandle' : redefinition; different basic types
1> C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(515) : see declaration of 'RemotableHandle'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(523): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(525): error C2143: syntax error : missing ';' before '*'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(525): error C2371: 'RemotableHandle' : redefinition; different basic types
1> C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(515) : see declaration of 'RemotableHandle'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(525): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(527): error C2143: syntax error : missing ';' before '*'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(527): error C2371: 'RemotableHandle' : redefinition; different basic types
1> C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(515) : see declaration of 'RemotableHandle'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(527): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(529): error C2143: syntax error : missing ';' before '*'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(529): error C2371: 'RemotableHandle' : redefinition; different basic types
1> C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(515) : see declaration of 'RemotableHandle'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(529): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(531): error C2143: syntax error : missing ';' before '*'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(531): error C2371: 'RemotableHandle' : redefinition; different basic types
1> C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(515) : see declaration of 'RemotableHandle'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(531): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(533): error C2143: syntax error : missing ';' before '*'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(533): error C2371: 'RemotableHandle' : redefinition; different basic types
1> C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(515) : see declaration of 'RemotableHandle'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(533): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(611): error C2143: syntax error : missing ';' before '*'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(611): error C2371: 'userHBITMAP' : redefinition; different basic types
1> C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(494) : see declaration of 'userHBITMAP'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(611): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(613): error C2143: syntax error : missing ';' before '*'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(613): error C2371: 'userHPALETTE' : redefinition; different basic types
1> C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(505) : see declaration of 'userHPALETTE'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(613): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(615): error C2143: syntax error : missing ';' before '*'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(615): error C2371: 'userHENHMETAFILE' : redefinition; different basic types
1> C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(471) : see declaration of 'userHENHMETAFILE'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(615): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(617): error C2143: syntax error : missing ';' before '*'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(617): error C2371: 'userHMETAFILE' : redefinition; different basic types
1> C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(441) : see declaration of 'userHMETAFILE'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(617): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(619): error C2143: syntax error : missing ';' before '*'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(619): error C2371: 'userHMETAFILEPICT' : redefinition; different basic types
1> C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(460) : see declaration of 'userHMETAFILEPICT'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(619): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(733): error C2143: syntax error : missing ';' before '*'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(733): error C2371: 'FLAGGED_WORD_BLOB' : redefinition; different basic types
1> c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(455) : see declaration of 'FLAGGED_WORD_BLOB'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(733): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(941): error C2146: syntax error : missing ';' before identifier 'pFileExt'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(941): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(942): error C2146: syntax error : missing ';' before identifier 'pMimeType'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(942): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(943): error C2146: syntax error : missing ';' before identifier 'pProgId'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(943): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(944): error C2146: syntax error : missing ';' before identifier 'pFileName'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(944): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(947): error C2146: syntax error : missing ';' before identifier 'pPackageName'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(947): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(140): error C2061: syntax error : identifier '__RPC__deref_out'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(309): error C2061: syntax error : identifier '__RPC__deref_out'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(431): error C2143: syntax error : missing ';' before '*'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(431): error C2371: 'IClassFactory' : redefinition; different basic types
1> C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(59) : see declaration of 'IClassFactory'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(431): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(524): error C2065: '__RPC__in' : undeclared identifier
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(524): error C2146: syntax error : missing ')' before identifier 'IClassFactory'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(524): warning C4229: anachronism used : modifiers on data are ignored
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(526): error C2059: syntax error : ')'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(537): error C2065: '__RPC__in' : undeclared identifier
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(537): error C2146: syntax error : missing ')' before identifier 'IClassFactory'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(537): warning C4229: anachronism used : modifiers on data are ignored
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(538): error C2059: syntax error : ')'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(575): error C2065: '__RPC__in' : undeclared identifier
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(575): error C2146: syntax error : missing ')' before identifier 'IClassFactory'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(575): warning C4229: anachronism used : modifiers on data are ignored
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(577): error C2059: syntax error : ')'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(585): error C2065: '__RPC__in' : undeclared identifier
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(585): error C2146: syntax error : missing ')' before identifier 'IClassFactory'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(585): warning C4229: anachronism used : modifiers on data are ignored
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(586): error C2059: syntax error : ')'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(1376): error C2143: syntax error : missing ';' before '*'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(1376): error C2371: 'IMultiQI' : redefinition; different basic types
1> C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(94) : see declaration of 'IMultiQI'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(1376): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(1694): error C2143: syntax error : missing ';' before '*'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(1694): error C2371: 'IEnumUnknown' : redefinition; different basic types
1> C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(115) : see declaration of 'IEnumUnknown'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(1694): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(1805): error C2065: '__RPC__in' : undeclared identifier
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(1805): error C2146: syntax error : missing ')' before identifier 'IEnumUnknown'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(1805): warning C4229: anachronism used : modifiers on data are ignored
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(1808): error C2059: syntax error : ')'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(1828): error C2143: syntax error : missing ';' before '*'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(1828): error C2371: 'IEnumString' : redefinition; different basic types
1> C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(122) : see declaration of 'IEnumString'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(1828): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(1937): error C2065: '__RPC__in' : undeclared identifier
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(1937): error C2146: syntax error : missing ')' before identifier 'IEnumString'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(1937): warning C4229: anachronism used : modifiers on data are ignored
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(1940): error C2059: syntax error : ')'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(2061): error C2065: '__RPC__in' : undeclared identifier
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(2061): error C2146: syntax error : missing ')' before identifier 'ISequentialStream'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(2061): warning C4229: anachronism used : modifiers on data are ignored
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(2064): error C2059: syntax error : ')'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(2075): error C2065: '__RPC__in' : undeclared identifier
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(2075): error C2146: syntax error : missing ')' before identifier 'ISequentialStream'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(2075): warning C4229: anachronism used : modifiers on data are ignored
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(2078): error C2059: syntax error : ')'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(2098): error C2143: syntax error : missing ';' before '*'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(2098): error C2371: 'IStream' : redefinition; different basic types
1> C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(136) : see declaration of 'IStream'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(2098): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(2120): error C2146: syntax error : missing ';' before identifier 'pwcsName'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(2120): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(2361): error C2065: '__RPC__in' : undeclared identifier
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(2361): error C2146: syntax error : missing ')' before identifier 'IStream'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(2361): warning C4229: anachronism used : modifiers on data are ignored
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(2364): error C2059: syntax error : ')'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(2375): error C2065: '__RPC__in' : undeclared identifier
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(2375): error C2146: syntax error : missing ')' before identifier 'IStream'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(2375): warning C4229: anachronism used : modifiers on data are ignored
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(2379): error C2059: syntax error : ')'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(3896): error C2061: syntax error : identifier '__RPC__deref_out_opt'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(3914): error C2061: syntax error : identifier '__RPC__in_opt'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(4072): error C2061: syntax error : identifier '__RPC__deref_out_opt'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(4495): error C2143: syntax error : missing ';' before '*'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(4495): error C2371: 'ISurrogate' : redefinition; different basic types
1> C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(234) : see declaration of 'ISurrogate'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(4495): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(5981): error C2061: syntax error : identifier '__RPC__out_ecount_part'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(5981): fatal error C1003: error count exceeds 100; stopping compilation
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Win SDK 8.0 Compile Errors

I am using simple-ipc-lib in my project. I have Visual Studio 2012 with Windows SDK 8.0. I also have VS2010 and Win SDK 7.0. I have sometimes installed and uninstalled Visual Studios because of some necessary work.
I have successfully build simple-ipc-lib in VS2012. Its unit-tests are also working fine.
I am now trying to develop an application with it. I made an empty project in VS2012 and included header files and lib. But on compiling it gives me errors
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(24): error C2146: syntax error : missing ';' before identifier 'fd1'
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(24): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(24): warning C4183: 'fd1': missing return type; assumed to be a member function returning 'int'
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(25): error C2146: syntax error : missing ';' before identifier 'fd2'
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(25): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(25): warning C4183: 'fd2': missing return type; assumed to be a member function returning 'int'
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(27): error C2146: syntax error : missing ';' before identifier 'OpenPipeServer'
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(27): warning C4183: 'OpenPipeServer': missing return type; assumed to be a member function returning 'int'
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(28): error C2146: syntax error : missing ';' before identifier 'OpenPipeClient'
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(28): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(28): error C2086: 'int PipePair::HANDLE' : redefinition
1> C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(27) : see declaration of 'PipePair::HANDLE'
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(28): warning C4183: 'OpenPipeClient': missing return type; assumed to be a member function returning 'int'
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(31): error C2146: syntax error : missing ';' before identifier 'srv_'
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(31): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(32): error C2146: syntax error : missing ';' before identifier 'cln_'
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(32): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(24): error C2065: 'srv_' : undeclared identifier
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(25): error C2065: 'cln_' : undeclared identifier
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(40): error C2061: syntax error : identifier 'HANDLE'
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(41): error C2061: syntax error : identifier 'HANDLE'
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(49): error C2146: syntax error : missing ';' before identifier 'pipe_'
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(49): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(46): error C2065: 'INVALID_HANDLE_VALUE' : undeclared identifier
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(46): error C2065: 'pipe_' : undeclared identifier
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(46): error C2146: syntax error : missing ';' before identifier 'nLength'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(46): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(47): error C2146: syntax error : missing ';' before identifier 'lpSecurityDescriptor'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(47): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(48): error C2146: syntax error : missing ';' before identifier 'bInheritHandle'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(48): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(52): error C2146: syntax error : missing ';' before identifier 'Internal'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(52): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(53): error C2146: syntax error : missing ';' before identifier 'InternalHigh'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(53): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(56): error C2146: syntax error : missing ';' before identifier 'Offset'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(56): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(57): error C2146: syntax error : missing ';' before identifier 'OffsetHigh'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(57): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(59): error C2146: syntax error : missing ';' before identifier 'Pointer'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(59): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(62): error C2146: syntax error : missing ';' before identifier 'hEvent'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(62): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(66): error C2146: syntax error : missing ';' before identifier 'lpCompletionKey'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(66): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(68): error C2146: syntax error : missing ';' before identifier 'Internal'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(68): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(69): error C2146: syntax error : missing ';' before identifier 'dwNumberOfBytesTransferred'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(69): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(80): error C2146: syntax error : missing ';' before identifier 'dwLowDateTime'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(80): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(81): error C2146: syntax error : missing ';' before identifier 'dwHighDateTime'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(81): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(90): error C2146: syntax error : missing ';' before identifier 'wYear'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(90): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(91): error C2146: syntax error : missing ';' before identifier 'wMonth'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(91): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(92): error C2146: syntax error : missing ';' before identifier 'wDayOfWeek'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(92): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(93): error C2146: syntax error : missing ';' before identifier 'wDay'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(93): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(94): error C2146: syntax error : missing ';' before identifier 'wHour'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(94): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(95): error C2146: syntax error : missing ';' before identifier 'wMinute'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(95): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(96): error C2146: syntax error : missing ';' before identifier 'wSecond'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(96): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(97): error C2146: syntax error : missing ';' before identifier 'wMilliseconds'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(97): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(102): error C2146: syntax error : missing ';' before identifier 'dwFileAttributes'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(102): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(106): error C2146: syntax error : missing ';' before identifier 'nFileSizeHigh'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(106): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(107): error C2146: syntax error : missing ';' before identifier 'nFileSizeLow'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(107): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(108): error C2146: syntax error : missing ';' before identifier 'dwReserved0'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(108): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(109): error C2146: syntax error : missing ';' before identifier 'dwReserved1'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(109): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(110): error C2146: syntax error : missing ';' before identifier 'cFileName'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(110): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(110): error C2065: 'MAX_PATH' : undeclared identifier
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(111): error C2146: syntax error : missing ';' before identifier 'cAlternateFileName'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(111): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(119): error C2146: syntax error : missing ';' before identifier 'dwFileAttributes'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(119): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(123): error C2146: syntax error : missing ';' before identifier 'nFileSizeHigh'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(123): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(124): error C2146: syntax error : missing ';' before identifier 'nFileSizeLow'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(124): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(125): error C2146: syntax error : missing ';' before identifier 'dwReserved0'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(125): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(126): error C2146: syntax error : missing ';' before identifier 'dwReserved1'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(126): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(127): error C2146: syntax error : missing ';' before identifier 'cFileName'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(127): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(127): error C2065: 'MAX_PATH' : undeclared identifier
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(128): error C2146: syntax error : missing ';' before identifier 'cAlternateFileName'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(128): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(198): error C2146: syntax error : missing ';' before identifier 'CRITICAL_SECTION'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(198): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(199): error C2146: syntax error : missing ';' before identifier 'PCRITICAL_SECTION'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(199): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(202): error C2146: syntax error : missing ';' before identifier 'CRITICAL_SECTION_DEBUG'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(202): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(203): error C2146: syntax error : missing ';' before identifier 'PCRITICAL_SECTION_DEBUG'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(203): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(208): error C2065: 'WINAPI' : undeclared identifier
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(208): error C2065: 'LPOVERLAPPED_COMPLETION_ROUTINE' : undeclared identifier
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(208): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(208): fatal error C1903: unable to recover from previous error(s); stopping compilation
Separate compilation of Simple IPC lib is doing right. I can not understand the errors in this. Please help.
Thanks in advance.