错误修改
在网上下载了个例子,查看了下使用的是 visual studio 2003版本的,运行的时候出现了下面的错误,我找了下
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxplex_.h 这里面有对UINT_PTR
的定义。这是啥回事来的,怎么修改才好? 真的很气人
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxplex_.h(42) : error C2872: “UINT_PTR” : 不明确的符号
可能是“c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\BaseTsd.h(90) : __w64 unsigned int UINT_PTR”
或 “d:\Explorer\Debug\mshtml.tlh(959) : MSHTML::UINT_PTR”
[解决办法]
符号没有定义?
[解决办法]
virtual HRESULT STDMETHODCALLTYPE Show(
/* [in] */ UINT nCmdShow) = 0;
1>d:\安装文件\vs\vc\platformsdk\include\ocidl.h(2015) : error C2143: syntax error : missing ')' before ';'
1>d:\安装文件\vs\vc\platformsdk\include\ocidl.h(2015) : error C2059: syntax error : ')'
1>d:\安装文件\vs\vc\platformsdk\include\ocidl.h(2015) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\安装文件\vs\vc\platformsdk\include\ocidl.h(2015) : error C2864: 'IPropertyPage::nCmdShow' : only static const integral data members can be initialized within a class
这个是啥错误来的?用的是vs 2003中的vc++.net