阅读:1623回复:4
为什么微软ddk的头文件也报错???
我调试ddk6000中的scaner例程的用户程序scanUser.c
头文件包括 #include <windows.h> #include <stdlib.h> #include <stdio.h> #include <winioctl.h> #include <string.h> #include <crtdbg.h> #include <fltuser.h> #include "scanuk.h" #include "scanuser.h" 编译信息为: --------------------Configuration: scanuser - Win32 Debug-------------------- Compiling... scanuser.c c:\winddk\6000\inc\ddk\fltuserstructures.h(22) : fatal error C1012: unmatched parenthesis : missing ')' 执行 cl.exe 时出错. scanuser.exe - 1 error(s), 0 warning(s) 即ddk中fltuserstructures.h这个头文件有问题,这是怎么回事?????? |
|
沙发#
发布于:2007-12-10 10:03
在这个头文件之前还得INCLUDE其它头文件吧,fltuserstructures.h的某些结构可能是依赖其它头文件的,在DDK里找找吧
|
|
板凳#
发布于:2007-12-10 11:31
我调试的是微软自己的例子程序,头文件也是微软自己加的。fltuserstructures.h是被#include <fltuser.h>引用的,我想这应该是vc的问题,可是不知道如何解决
|
|
地板#
发布于:2007-12-10 23:29
You should use DDK build utility instead of Visual Studio.
|
|
地下室#
发布于:2007-12-11 22:52
引用第3楼michaelgz于2007-12-10 23:29发表的 : 哦,应用程序也要用ddk build啊,知道了,谢了 |
|