阅读:626回复:0
请问 ~
请问 ~ 各位大大
要如何能在VC++6.0 的环境下编译 WDM呢 ? 因为我实看不懂 “WDM驱动程序设计手册”所写的方法 . 照著作…都无法编译成功?像是编译 wdm1时…都出现这样 的错误讯息 -------------------------------------------------------- (以下是举个例子,通常都会出现 *. h) c:\\ntddk\\inc\\wdm.h(354) : error C2146: syntax error : missing \';\' before identifier \'Lock\' c:\\ntddk\\inc\\wdm.h(354) : error C2501: \'PULONG_PTR\' : missing storage-class or type specifiers c:\\ntddk\\inc\\wdm.h(354) : error C2501: \'Lock\' : missing storage-class or type specifiers c:\\ntddk\\inc\\wdm.h(594) : error C2146: syntax error : missing \';\' before identifier \'KSPIN_LOCK\' c:\\ntddk\\inc\\wdm.h(594) : fatal error C1004: unexpected end of file found Error executing cl.exe. Init.obj - 5 error(s), 0 warning(s) 我仔细去看….都发现我并没有少 ” ; ” 丫….. 麻烦帮我个忙 |
|