安装WinDDK后,fatal error C1083: 无法打开包括文件:"devioctl.h"

gaowenboms 2010-12-28 05:04:00
安装WinDDK后,fatal error C1083: 无法打开包括文件:"devioctl.h",不包含winddk的目录时出现这样的错误,

但要是包含到它的目录C:\WinDDK\7600.16385.0\inc\api到VS的包含目录,又会出现编译时超过100个错误,而且都是一些头文件的错误,我知道头文件不可能有这多错误的,请问是为什么,谢谢!
...全文
1322 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
lyzxzhao 2013-09-16
  • 打赏
  • 举报
回复
你把cyioctrl.h中的语句#include <devioctl.h>改为#include “devioctl.h”就行了
gaowenboms 2010-12-28
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 visualeleven 的回复:]
你的系统环境变量设置了没有?
[/Quote]

请问这个有什么用,怎么设,就是要添加到DDK的哪一级目录

Eleven 2010-12-28
  • 打赏
  • 举报
回复
你的系统环境变量设置了没有?
从SourceForge上Dump下来的MinGW最新版5.0.X完整版,涵盖完整迁移库,值得拥有。 完整可引入header列表: \MINGW\INCLUDE │ accctrl.h │ aclapi.h │ aclui.h │ adsprop.h │ afxres.h │ amaudio.h │ amvideo.h │ assert.h │ audevcod.h │ autosprintf.h │ aviriff.h │ aygshell.h │ basetsd.h │ basetyps.h │ bdatypes.h │ cderr.h │ cguid.h │ cmnquery.h │ comcat.h │ commctrl.h │ commdlg.h │ complex.h │ conio.h │ control.h │ cpl.h │ cplext.h │ ctype.h │ custcntl.h │ d3d9.h │ d3d9caps.h │ d3d9types.h │ dbt.h │ dde.h │ ddeml.h │ devguid.h │ dhcpcsdk.h │ dir.h │ direct.h │ dirent.h │ dlfcn.h │ dlgs.h │ docobj.h │ dos.h │ dsadmin.h │ dsclient.h │ dsgetdc.h │ dshow.h │ dsquery.h │ dsrole.h │ dvdevcod.h │ dvdmedia.h │ dxerr8.h │ dxerr9.h │ edevdefs.h │ errno.h │ errorrep.h │ errors.h │ evcode.h │ excpt.h │ exdisp.h │ exdispid.h │ fcntl.h │ fenv.h │ float.h │ fltdefs.h │ gdiplus.h │ getopt.h │ gettext-po.h │ glob.h │ gmon.h │ httpext.h │ icm.h │ iconv.h │ idispids.h │ il21dec.h │ imagehlp.h │ imm.h │ initguid.h │ intshcut.h │ inttypes.h │ io.h │ ipexport.h │ iphlpapi.h │ ipifcons.h │ ipinfoid.h │ iprtrmib.h │ iptypes.h │ ipxconst.h │ ipxrtdef.h │ ipxtfflt.h │ isguids.h │ ks.h │ ksmedia.h │ largeint.h │ libcharset.h │ libgen.h │ libintl.h │ limits.h │ lm.h │ lmaccess.h │ lmalert.h │ lmapibuf.h │ lmat.h │ lmaudit.h │ lmbrowsr.h │ lmchdev.h │ lmconfig.h │ lmcons.h │ lmerr.h │ lmerrlog.h │ lmmsg.h │ lmremutl.h │ lmrepl.h │ lmserver.h │ lmshare.h │ lmsname.h │ lmstats.h │ lmsvc.h │ lmuse.h │ lmuseflg.h │ lmwksta.h │ localcharset.h │ locale.h │ ltdl.h │ lzexpand.h │ malloc.h │ mapi.h │ math.h │ mbctype.h │ mbstring.h │ mciavi.h │ mcx.h │ mem.h │ memory.h │ mgm.h │ mgmtapi.h │ mlang.h │ mmreg.h │ mmsystem.h │ mpegtype.h │ mprapi.h │ mq.h │ msacm.h │ mshtml.h │ msvcrtver.h │ mswsock.h │ nb30.h │ nddeapi.h │ nspapi.h │ ntdef.h │ ntdll.h │ ntdsapi.h │ ntdsbcli.h │ ntldap.h │ ntsecapi.h │
支持GPL协议: one line to give the program\'s name and an idea of what it does. Copyright (C) Ports Project 2007/01/30 horse_b This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.      horse_b 研究了6年代码跨平台移植项目,可以做大部分项目的移植,在这里的项目大部分是GPL工程 所以大家得到我的PORTS工程以后,也请尊重GPL协议   文件列表: libpcap-cygwin-port.tar.gz libnet-cygwin-port.tar.gz libtiff-cygwin-port.tar.gz libtiff-mingw-port.tar.gz libtiff-vc-vs.net-port.rar 说明: 所有这些PORTS项目都是horse_b的个人制作,2001年我为NIDS系统软件SNORT项目做了一个WIN32-Port的项目, 应该比SNORT作者出win32 port要早半年,但是我没有公开过这个WIN32 PORT,这个项目的WIN32 的二进制程序 在黑客网站黑白中可以找到 http://www.yiii.net/app/club/view.jsp?Information_Id=I00014317 抓包驱动snort182drv.zip http://www.yiii.net/app/club/view.jsp?Information_Id=I00014560 ids.zip 请大家尊重我的劳动,不允许任意改动我做的PORTS项目,用要做PORTS项目的,请发邮件和我联系 如果有人和我讨论移植和开发编译器,可以来信和我讨论: 我的专门接受此类问题的EMAIL: winddk64@gmail.com 或者 winddk64@163.com       技术下载区 Libpcap cygwin port下载:    libpcap-cygwin-port.tar.gz libnet cygwin port下载: libnet-cygwin-port.tar.gz   libtiff cygwin port下载: libtiff-cygwin-port.tar.gz libtiff mingw port下载: libnet-mingw-port.tar.gz (这个工程我觉得有VC和VS。NET的PORT了,我就没做这个PORT,有人要这个PORT,可以和我联系,半天就能搞定了) libtiff vc++&

2,640

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC 硬件/系统
社区管理员
  • 硬件/系统社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧