阅读:1066回复:0
用Driverstudio编程好郁闷啊!
就用他的原代码做一个简单的usb刚搞好框架自己的程序都还没有加就出了下面的错误真不知道是为什么?大家帮帮忙啊!我刚学wdm编程一个月新手得不能在新了!
Compiling... D12TEST.cpp 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:\\PROGRA~1\\NuMega\\DRIVER~1\\DRIVER~4\\include\\kdriver.h(953) : fatal error C1903: unable to recover from previous error(s); stopping compilation D12TESTDevice.cpp 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:\\PROGRA~1\\NuMega\\DRIVER~1\\DRIVER~4\\include\\kpnplow.h(333) : fatal error C1903: unable to recover from previous error(s); stopping compilation Error executing cl.exe. :( |
|