...I need an INF file to work. I am not good at trying to fix INF files at all to be honest, and its just for a USB device (specifically a digital microscope). I ran the WDDK (Windows Driver Development Kit) to test the INF file with Chkinf, and it came back with about 6 errors and 14 warnings. I've tinkered, I've tankered, I've tried and tried... but nothing I do will make these blasted errors go away (simply because, well, I am not good at this or know exactly how to format INF files correctly). The reason? Well the device itself does not work (it refuses, and of course gives the Error 31 in the device manager). I need this scope to work so that I can take pictures of a few exuvium and examine them. I have no cash to give, but the inf file is quite small. Here is the code itself from the c2d.inf. I am specifically looking at the Win2K portion - as that also covers Windows XP [Version] Signature="$CHICAGO$" Class=IMAGE Provider = %CompanyName% LayoutFile=layout.inf DriverVer=08/28/2001 [Manufacturer] %CompanyName% = DeviceList [DeviceList] %ItemName%=DriverInstall,USB\VID_09F7&PID_0001 [PreCopySection] HKR,,NoSetupUI,,1 [DestinationDirs] _98_files = 11 _nt_file_sys = 10,System32\Drivers _nt_file_inf = 10,INF ;============================================================= ; Windows 2000 ;------------------------------------------------------------- [DriverInstall.nt] CopyFiles = _nt_file_sys, _nt_file_inf AddReg = _nt_Registry [DriverInstall.nt.Services] Addservice = BulkUsb, 0x00000002, BulkUsb.Service_Inst [_nt_Registry] HKR,,DevLoader,,*ntkern HKR,,NTMPDriver,,c2dwin2k.sys HKLM,"System\Currentcontrolset\Services\BulkUsb\Parameters","MaximumTransferSize",0x10001,4096 HKLM,"System\Currentcontrolset\Services\BulkUsb\Parameters","DebugLevel",0x10001,2 [BulkUsb.Service_Inst] DisplayName = %SvrName% ServiceType = 1 ; SERVICE_KERNEL_DRIVER StartType = 2 ; SERVICE_AUTO_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary = %10%\System32\Drivers\c2dwin2k.sys LoadOrderGroup = Base [_nt_file_sys] c2dwin2k.sys [_nt_file_inf] c2d.inf ;============================================================= ; Windows 9x ;------------------------------------------------------------- [DriverInstall] CopyFiles = _98_files AddReg = _98_Registry UpdateInis = _98_Ini [_98_Registry] HKR,,DevLoader,,*ntkern HKR,,NTMPDriver,,c2dwin9x.sys [_98_files] EVC250KU.DRV EVC250KU.HLP EVCAM.DLL EVCOLOR.DLL EVTHUNK.DLL c2dwin9x.SYS [_98_Ini] system.ini,drivers,,"msvideo=evc250ku.drv" ;============================================================= ; Common strings ;------------------------------------------------------------- [Strings] CompanyName = "Science-Tech" BrandName = "SCIENCE-TECH" ItemNumber = "MS288" ItemName = "C2D Digital Microscope" SvrName = "Science-Tech C2D Device Driver" Code (markup):
I was going to say "I've tinkered and tankered, flinkered and flankered, whirled and twirled, and I've snerled and jereld". But then I saw how it looked. So, know anything about INF files?
Have a look at msdn.microsoft.com/en-us/library/aa741215(VS.85).aspx for a great guide. Also at msdn.microsoft.com/en-us/library/ms794791.aspx for a device specific guide. Hope this will help you.