阅读:3198回复:2
求助BUILD的疑惑
刚开始自学驱动,编译的是寒江独钓中的first例子
用VC6.0编译没有问题,用wdk BUILD能成功却出现如下警告: warning 28101 : The Drivers module has inferred that the current function is a DRIVER_INITIALIZE function: This is informational only. No problem has been detected. File path: e:\first\first.c Function: DriverEntry Line: 17 试着在其中添加一个DispatchRoutine,出现如下警告 warning 28170: The function 'ddk_DispatchRoutine' has been declared to be in a paged segment, but neither PAGED_CODE nor PAGED_CODE_LOCKED was found. 但我已在头文件中定义 #define PAGECODE code_seg("PAGE") 谢谢 |
|
沙发#
发布于:2010-07-02 15:03
应该没有问题的,我从配套的光盘中拿代码build成功,可能你弄错了哪一步
|
|
板凳#
发布于:2010-07-02 18:21
可以生成SYS文件,主要是不明白第二个警告
|
|