从Microsoft Platform SDK 2003编译示例时出错 [英] Error while compiling example from Microsoft Platform SDK 2003

查看:162
本文介绍了从Microsoft Platform SDK 2003编译示例时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是VC6的新手.我尝试了在sdk 2003平台上介绍的示例程序.
我正在关注错误
e:\ program files \ microsoft平台sdk \ include \ strmif.h(1024):错误C2146:语法错误:标识符``HSEMAPHORE''前缺少``;'' e:\ program files \ microsoft Platform sdk \ include \ strmif.h(1024):致命错误C1004:发现文件意外结束

..................
请为我提供解决此错误的解决方案

Hi I''m new to VC6.I''m tried the sample program explained on the platform sdk 2003.
I am getting following Errors
e:\program files\microsoft platform sdk\include\strmif.h(1024) : error C2146: syntax error : missing '';'' before identifier ''HSEMAPHORE''
e:\program files\microsoft platform sdk\include\strmif.h(1024) : fatal error C1004: unexpected end of file found

..................
kindly provide me the solution to get out of this error

推荐答案



我看到您正在使用VC6.支持VC6的PSDK的最新版本是 PSDK(2003年2月)发行版 [ ^ ],我认为您是使用比该版本更新的SDK版本.

尝试使用VS 2003或更高版本.但是,如果您想坚持使用VS6,请获取2003年2月版的PSDK.
Hi,

I see that you''re using VC6. The latest version of PSDK that supports VC6 is PSDK (february 2003) release[^] and I think you''re using a version of the SDK that''s newer than that.

Try using VS 2003 or or above. But if you''d like to stick to VS6, get the February 2003 version of the PSDK.


这篇关于从Microsoft Platform SDK 2003编译示例时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆