`
hyshucom
  • 浏览: 811602 次
文章分类
社区版块
存档分类
最新评论

syntax error : identifier 'PSCROLLBARINFO

 
阅读更多

syntax error : identifier 'PSCROLLBARINFO

...

这种错误:低版本vc项目移植到高版本vc编译时出现,解决方法

Add


#ifndef _WIN32_WINNT // Allow use of features specific to Windows NT 4 or later.
#define _WIN32_WINNT 0x0501 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
#endif

before

#pragma once

如果还不行,最好先看看你的项目属性的

c/c++->preprocessor->preprocessor defines, 一般删掉固定的版本定义,

或直接改为WIN32;_WINDOWS;_DEBUG;%(PreprocessorDefinitions)就行了。

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics