首页 > 其他 > 详细

32位驱动安装到64位操作系统时出错

时间:2015-12-29 19:19:49      阅读:284      评论:0      收藏:0      [点我收藏+]

在32位操作系统上,一直运行挺好的驱动,但当操作系统安装了windows 2008 R2 (64bits),再安装以前的驱动时,一直报0x800f0203错误,windows对此的错误定义是“没有为设备信息集或元素选择驱动程序”。驱动安装采用的是微软win2000 DDK 中提供的snetcfg.exe,

安装语法如下:

snetcfg [-v] [-l <full-path-to-component-INF>] -c <p|s|c> -i <comp-id>
    where,
    -l  provides the location of INF
    -c  provides the class of the component to be installed
        p == Protocol, s == Service, c == Client
    -i  provides the component ID

    The arguments must be passed in the order shown.

    Examples:
    snetcfg -l c:\oemdir\foo.inf -c p -i foo
    ...installs protocol ‘foo‘ using c:\oemdir\foo.inf

    snetcfg -c s -i MS_Server
    ...installs service ‘MS_Server‘

首先怀疑是snetcfg在64位操作系统上,不支持,于是装上盖茨大叔家最新的WDK,使用里面提供的bindview.exe来安装我的驱动,很失望,还是报“没有为设备信息集或元素选择驱动程序”。尝试了很多方法,都失败后,我开始怀疑inf或者.sys驱动文件不支持64位操作系统,没办法,只能静下心来看MSDN,看64位操作系统对inf或者.sys驱动文件有没有特殊要求。MSDN上有一篇文章“INF Requirements for 64-bit Systems”

主要改变如下

Driver INF files on Windows Server 2003 SP1 and later versions of Windows must decorate entries in the[Manufacturer] section and [Models] section names with.ntia64 or .ntamd64, as appropriate, to specify operating system versions on non-x86 based systems. This change does not affect INFs for x86-based systems or non-PnP driver INF files (including file system driver INF files for x64-based architectures).

http://blog.csdn.net/lizheng308/article/details/7291176

32位驱动安装到64位操作系统时出错

原文:http://www.cnblogs.com/findumars/p/5086687.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!