none
编译器找不到cfg.h和newdev.h RRS feed

  • 问题

  • 在codeproject上下载了一个获得系统所有硬件信息的源码,
    地址如下:
    http://www.codeproject.com/KB/system/SimpleSetup.aspx

    用VC6.0编译时报错

    Deleting intermediate files and output files for project 'DevMgr - Win32 Release'.
    --------------------Configuration: DevMgr - Win32 Release--------------------
    Compiling resources...
    Compiling...
    DevMgr.c
    C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\cfgmgr32.h(23) : fatal error C1083: Cannot open include file: 'cfg.h': No such file or directory
    GetTypeInfo.c
    C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\cfgmgr32.h(23) : fatal error C1083: Cannot open include file: 'cfg.h': No such file or directory
    Setup.c
    F:\获得硬件信息\DevMgr-SRC\wdmsetup.h(12) : fatal error C1083: Cannot open include file: 'newdev.h': No such file or directory
    SysSetup.c
    C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\cfgmgr32.h(23) : fatal error C1083: Cannot open include file: 'cfg.h': No such file or directory
    Util.c
    WDMSetup.c
    F:\获得硬件信息\DevMgr-SRC\wdmsetup.h(12) : fatal error C1083: Cannot open include file: 'newdev.h': No such file or directory
    Error executing cl.exe.

    DevMgr.exe - 5 error(s), 0 warning(s)



    这两个文件是干什么的啊?怎么获得啊?

    2009年4月11日 3:40

答案

全部回复