hanlei
驱动牛犊
驱动牛犊
  • 注册日期2005-03-28
  • 最后登录2005-04-13
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:1587回复:7

初级问题:ddk程序link出错?

楼主#
更多 发布于:2005-03-29 16:22
Linking with D:\\WINDDK\\3790 DDK x86 linker...
OpenByIntf.obj : error LNK2019: unresolved external symbol @__security_check_cookie@4 referenced in function \"void * __cdecl OpenByInterface(struct _GUID *,unsigned long,unsigned long *)\" (?OpenByInterface@@YAPAXPAU_GUID@@KPAK@Z)
objchk/i386/HelloApp.exe : fatal error LNK1120: 1 unresolved externals

我的操作系统是win2003
vc.net2003
我编译的是DriverStudio v3.2
里hellowdm的最简单的例子.
我想肯定是设置错误,对吗?
谢谢!
我的操作系统: windows 2003 server 我的编译器 Visual Studio.NET 2003 DDK: windows 2003 DDK DriverStudio v3.2
hanlei
驱动牛犊
驱动牛犊
  • 注册日期2005-03-28
  • 最后登录2005-04-13
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2005-03-29 19:13
Compiling resources with D:\\WINDDK\\3790 DDK resource compiler...
Linking with D:\\WINDDK\\3790 DDK x86 linker...
LINK : fatal error LNK1117: syntax error in option \'subsystem:n\'

弄了一下现在是这个错误
我的操作系统: windows 2003 server 我的编译器 Visual Studio.NET 2003 DDK: windows 2003 DDK DriverStudio v3.2
hanlei
驱动牛犊
驱动牛犊
  • 注册日期2005-03-28
  • 最后登录2005-04-13
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2005-03-29 19:21
究竟该怎样编译?
是 build hellowdm
还是在batch build 菜单中选择?
在batch build 中有4个helloapp和4个hellowdm,该选择哪个编译呢?
我是个初学者,请多帮忙,谢谢!
我的操作系统: windows 2003 server 我的编译器 Visual Studio.NET 2003 DDK: windows 2003 DDK DriverStudio v3.2
hanlei
驱动牛犊
驱动牛犊
  • 注册日期2005-03-28
  • 最后登录2005-04-13
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
地板#
发布于:2005-03-29 19:47
我选择tools->driverstudio->build hellowdm with ddk build.exe
output显示:
    4 files compiled
    1 executable built
    2 browse databases built

如果我选择tools->driverstudio->build solution with ddk build.exe
output显示:

.......................
......................
    4 files compiled
    1 executable built
    2 browse databases built

........................
........................
    3 files compiled
    1 executable built
    2 browse databases built

这算编译成功吗?
我的操作系统: windows 2003 server 我的编译器 Visual Studio.NET 2003 DDK: windows 2003 DDK DriverStudio v3.2
游客

返回顶部