阅读:2111回复:4
link错误求助(附代码)
--------------------Configuration: MyDriver - Win32 MyDriver_Check --------------------
Compiling... HelloWDM.cpp Linking... HelloWDM.obj : error LNK2001: unresolved external symbol __imp__MmAllocateContiguousMemory@12 MyDriver_Check/HelloWDM.sys : fatal error LNK1120: 1 unresolved externals Error executing link.exe. 相关代码: PVOID VirtualAddr; PHYSICAL_ADDRESS PhyAddr; PhyAddr.u.LowPart = 0xffffffff; PhyAddr.u.HighPart = 0; VirtualAddr = MmAllocateContiguousMemory(0xffff, PhyAddr); 这是什么错误啊? |
|
禁止发言
|
沙发#
发布于:2010-11-04 13:00
用户被禁言,该主题自动屏蔽! |
板凳#
发布于:2010-11-04 14:05
搞定啦,是引用的库文件不对,多谢指点!
|
|
禁止发言
|
地板#
发布于:2010-11-04 20:22
用户被禁言,该主题自动屏蔽! |
地下室#
发布于:2010-11-09 14:40
|
|
|