阅读:1664回复:7
初级问题:ddk程序link出错?
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的最简单的例子. 我想肯定是设置错误,对吗? 谢谢! |
|
|
沙发#
发布于:2005-03-29 16:40
在vs2003中编译连接的吗?
怎么会出来这么个连接错误,hellowdm根本不用这个security_check_cookie呀? |
|
|
板凳#
发布于: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\' 弄了一下现在是这个错误 |
|
|
地板#
发布于:2005-03-29 19:21
究竟该怎样编译?
是 build hellowdm 还是在batch build 菜单中选择? 在batch build 中有4个helloapp和4个hellowdm,该选择哪个编译呢? 我是个初学者,请多帮忙,谢谢! |
|
|
地下室#
发布于: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 这算编译成功吗? |
|
|
5楼#
发布于:2005-03-30 13:49
究竟该怎样编译? -------------------------------- 我也是初学者,我看帮助中说去掉64 位的项其他的都可编译 |
|
6楼#
发布于:2005-03-30 13:53
我选择tools->driverstudio->build hellowdm with ddk build.exe ---------------------------------- 没有提示错误,该是成功 |
|
7楼#
发布于:2005-03-30 15:29
Compiling resources with D:\\WINDDK\\3790 DDK resource compiler... 应该是这样subsystem:native |
|
|