阅读:879回复:1
为什么我的驱动程序安装不上??
我的系统是xp,我是用xpDDK中的build工具编译连接生成驱动程序simdriver.sys
我的sources文件如下: TARGETNAME= simdriver TARGETTYPE= DRIVER DRIVERTYPE= WDM TARGETPATH= sys INCLUDES= inc SOURCES= simdriver.c 我的inf文件如下: [Version] Signature="$Windows NT$" Class=Unknown CatalogFile.ntx86=simdriver.cat DriverVer=03/05/2004 [SourceDisksNames.x86] 1="HiImWdm Free build directory",,,obj\i386\free [SourceDisksFiles.x86] simdriver.sys=1 [DestinationDirs] DefaultDestDir=10,System32\Drivers [Manufacturer] %Sunshine%=sunshine [sunshine] %simdriver%= Simdriver_Inst,*Simdriver [Simdriver_Inst.ntx86] CopyFiles=SimdriverCopyFile AddReg=SimdriverAddReg [SimdriverCopyFile] simdriver.sys,,,2 [SimdriverAddReg] HKR,parament,0x12 [sunshine.ntx86.Services] AddService=simdriver,0x00000002,simdriver_service [simdriver_service] DisplayName = %mouclass_SvcDesc% ServiceType = 1 StartType = 3 ErrorControl = 1 ServiceBinary = %12%\simdriver.sys [Strings] Floppy_Description="simdriver media" Sunshine="x101.sunshine.net" simdriver="Simply Driver" mouclass_SvcDesc="simply driver" 不知道为什么,安装到最后总是提示"由于没有为设备范例指定函数驱动程序,安装没有成功" 但是,我发现simdriver.sys文件已经被copy到windows/system32/drivers中了 |
|
沙发#
发布于:2004-03-07 01:53
sys 和是否能安装成功关系不大,是不是编译过程中拷贝过去的?
|
|
|