出现错误:You are not using the latest Platform SDK header/library

soft2000 2001-11-16 02:30:33
You are not using the latest Platform SDK header/library
files. This may prevent the project from building correctly.

编译不能通过。
...全文
186 18 打赏 收藏 转发到动态 举报
写回复
用AI写文章
18 条回复
切换为时间正序
请发表友善的回复…
发表回复
soft2000 2001-11-16
  • 打赏
  • 举报
回复
csdn么狗屁东西,怎么不能加分,我还有4000多分呢!!
soft2000 2001-11-16
  • 打赏
  • 举报
回复
刚刚又装了一遍,结果还是。。。。。。。。。。。。。。。。。。。。。。。。。。

编译通过了,谢谢各位大哥
谢谢caigzhi(caigzhi)
colorknight(多彩的骑士)
ky640(exec)
(注:排名不分先后)
soft2000 2001-11-16
  • 打赏
  • 举报
回复
显示连接??
ky640 2001-11-16
  • 打赏
  • 举报
回复
不错,是SDK的版本太低了,不过可以用显示链接来调用这些函数。
colorknight 2001-11-16
  • 打赏
  • 举报
回复
没问题,就是这个问题,我也碰到过,你去下微软8月份的核心SDK,然后将其设为编译时首先要用的头文件和LIB库。就可以了。
地址:http://www.microsoft.com/msdownload/platformsdk/sdkupdate/
soft2000 2001-11-16
  • 打赏
  • 举报
回复
是最新的,不过有几个没有载下来,我正载着
caigzhi 2001-11-16
  • 打赏
  • 举报
回复
那肯定是platform sdk版本太低,看一下它的日期
soft2000 2001-11-16
  • 打赏
  • 举报
回复
急??
soft2000 2001-11-16
  • 打赏
  • 举报
回复
都看了,可是还是有问题我的QQ是7063592
soft2000 2001-11-16
  • 打赏
  • 举报
回复
是第一个啊,可是还是出现问题:

--------------------Configuration: 01 ErrorShow - Win32 Debug--------------------
Compiling...
ErrorShow.cpp
You are not using the latest Platform SDK header/library
files. This may prevent the project from building correctly.
c:\program files\programming applications\cmnhdr.h(212) : error C2065: 'GetWindowLongPtr' : undeclared identifier
c:\program files\programming applications\cmnhdr.h(212) : error C2065: 'GWLP_HINSTANCE' : undeclared identifier
c:\program files\programming applications\01-errorshow\errorshow.cpp(83) : error C2065: 'PCTSTR' : undeclared identifier
c:\program files\programming applications\01-errorshow\errorshow.cpp(83) : error C2146: syntax error : missing ')' before identifier 'LocalLock'
c:\program files\programming applications\01-errorshow\errorshow.cpp(83) : error C2059: syntax error : ')'
c:\program files\programming applications\01-errorshow\errorshow.cpp(125) : error C2664: 'DialogBoxParamA' : cannot convert parameter 4 from 'long (struct HWND__ *,unsigned int,unsigned int,long)' to 'int (__stdcall *)(struct HWND__ *,unsigned int,u
nsigned int,long)'
None of the functions with this name in scope match the target type
Error executing cl.exe.

ErrorShow.obj - 6 error(s), 0 warning(s)
caigzhi 2001-11-16
  • 打赏
  • 举报
回复
我试过了,我看到错误信息了,只要把把tools\option...里的Directories\include里面的platform sdk的include放在第一位,就能通过了。
caigzhi 2001-11-16
  • 打赏
  • 举报
回复
ErrorShow?
caigzhi 2001-11-16
  • 打赏
  • 举报
回复
还有把看看系统Include设置,打开Tool\option...\Directories
看看Include files里platform sdk的include目录是否在第一个
soft2000 2001-11-16
  • 打赏
  • 举报
回复
就是一开始的那个显示函数返回信息的那个例子
caigzhi 2001-11-16
  • 打赏
  • 举报
回复
哪个例子,我帮你试试.
我装的是2001/08/01的PlatForm SDK
soft2000 2001-11-16
  • 打赏
  • 举报
回复
我已经装了platform SDK了,但是还是不行
soft2000 2001-11-16
  • 打赏
  • 举报
回复
怎么更新??到微软那里下载吗?
我看的这本书是《windows 核心编程》里面的一个例子出错的
我的系统是WIN2000 SERVER ,难道这个还不新吗?
colorknight 2001-11-16
  • 打赏
  • 举报
回复
你的SDK头文件和LIB库该更新了吧!

16,473

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC相关问题讨论
社区管理员
  • 基础类社区
  • Web++
  • encoderlee
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

        VC/MFC社区版块或许是CSDN最“古老”的版块了,记忆之中,与CSDN的年龄几乎差不多。随着时间的推移,MFC技术渐渐的偏离了开发主流,若干年之后的今天,当我们面对着微软的这个经典之笔,内心充满着敬意,那些曾经的记忆,可以说代表着二十年前曾经的辉煌……
        向经典致敬,或许是老一代程序员内心里面难以释怀的感受。互联网大行其道的今天,我们期待着MFC技术能够恢复其曾经的辉煌,或许这个期待会永远成为一种“梦想”,或许一切皆有可能……
        我们希望这个版块可以很好的适配Web时代,期待更好的互联网技术能够使得MFC技术框架得以重现活力,……

试试用AI创作助手写篇文章吧