问题描述
- 新手刚加入C++,拿着源码环境报错,求求大家
- 报了一堆错误 winternl.h 这是包含文件啊系统的,怎么可能会报错啊,求求大家,这是什么错误,我装的VC6.0编译的
--------------------Configuration: Shell - Win32 Debug--------------------
Compiling...
BrowserWnd.cpp
c:program files (x86)microsoft visual studiovc98includewinternl.h(75) : error C2011: '_FILETIME' : 'struct' type redefinition
c:program files (x86)microsoft visual studiovc98includewinternl.h(1786) : error C2065: 'POWER_ACTION' : undeclared identifier
c:program files (x86)microsoft visual studiovc98includewinternl.h(1786) : error C2065: 'SYSTEM_POWER_STATE' : undeclared identifier
c:program files (x86)microsoft visual studiovc98includewinternl.h(1786) : error C2275: 'ULONG' : illegal use of this type as an expression
c:program files (x86)microsoft visual studiovc98includewindef.h(43) : see declaration of 'ULONG'
c:program files (x86)microsoft visual studiovc98includewinternl.h(1786) : error C2275: 'BOOLEAN' : illegal use of this type as an expression
c:program files (x86)microsoft visual studiovc98includewinnt.h(636) : see declaration of 'BOOLEAN'
c:program files (x86)microsoft visual studiovc98includewinternl.h(1786) : warning C4229: anachronism used : modifiers on data are ignored
c:program files (x86)microsoft visual studiovc98includewinternl.h(1786) : error C2078: too many initializers
c:program files (x86)microsoft visual studiovc98includewinternl.h(1786) : error C2275: 'BOOLEAN' : illegal use of this type as an expression
c:program files (x86)microsoft visual studiovc98includewinnt.h(636) : see declaration of 'BOOLEAN'
c:program files (x86)microsoft visual studiovc98includewinternl.h(1812) : error C2065: 'POWER_INFORMATION_LEVEL' : undeclared identifier
c:program files (x86)microsoft visual studiovc98includewinternl.h(1812) : error C2275: 'PVOID' : illegal use of this type as an expression
c:program files (x86)microsoft visual studiovc98includewinnt.h(106) : see declaration of 'PVOID'
c:program files (x86)microsoft visual studiovc98includewinternl.h(1812) : error C2275: 'ULONG' : illegal use of this type as an expression
c:program files (x86)microsoft visual studiovc98includewindef.h(43) : see declaration of 'ULONG'