chs718
驱动牛犊
驱动牛犊
  • 注册日期2003-07-12
  • 最后登录2004-04-20
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:915回复:0

求助:DriverWorks的驱动程序在VC下链接出错

楼主#
更多 发布于:2004-02-16 22:16
我直接在VC中打开示例程序HelloWdm,编译通过,链接时出现错误:

HelloWdm error LNK2001: 无法解析的外部符号 ___CxxFrameHandler
HelloWdm error LNK2001: 无法解析的外部符号 ___CxxFrameHandler
HelloWdm error LNK2001: 无法解析的外部符号 __EH_prolog
HelloApp error LNK2019: 无法解析的外部符号 @__security_check_cookie@4 ,该符号在函数 "void * __cdecl OpenByInterface(struct _GUID *,unsigned long,unsigned long *)" (?OpenByInterface@@YAPAXPAU_GUID@@KPAK@Z) 中被引用
HelloApp error LNK2019: 无法解析的外部符号 ___security_cookie ,该符号在函数 "void * __cdecl OpenByInterface(struct _GUID *,unsigned long,unsigned long *)" (?OpenByInterface@@YAPAXPAU_GUID@@KPAK@Z) 中被引用
HelloWdm error LNK2019: 无法解析的外部符号 __EH_prolog ,该符号在函数 "public: __thiscall SimpleWdmDevice::SimpleWdmDevice(struct _DEVICE_OBJECT *,unsigned long)" (??0SimpleWdmDevice@@QAE@PAU_DEVICE_OBJECT@@K@Z) 中被引用
HelloApp fatal error LNK1120: 2 个无法解析的外部命令

我的编译环境是VC++.NET,XP DDK,DriverStudio 2.7,已经成功生成过DS的库文件。
请问这是什么原因? 谢谢!

游客

返回顶部