Hi,
I configurated the INF file but something wrong.
I compiled the files (i need two files) and creating .sys files with one
error(warning 28719: Banned API Usage: strcpy...)
I used the ChkInf for checking INF file and it passed with no error and
no warning.
But when i want to install the driver (put the sys files in my directory
and point there), it warned that as; "windows has found the driver files
of device but there is a problem while trying to download / the system
cannot find the file specified"
IF u wonder, here is my INF file, file directory definitions;
Note: card name: vpcc, it is a imbe decoder card.
....
; Standard INF sections
;-----------------------------------------------------------------------
[manufacturer]
"Nortel Networks Netas" = DeviceList
[DeviceList]
"APCO25 VPCC IMBE DECODER" = DriverInstall,PCI\VEN_1057&DEV_18C0
[DestinationDirs]
DefaultDestDir=10,System32\Drivers ; 10 means the windows directory
(\windows or \winnt)
[SourceDisksFiles]
DefaultDestDir=10,System32\Drivers\apco25_vpcc_device_driver.sys=0
[SourceDisksNames]
;----------------------------------------------------------
; For Windows 2000 we add to DriverInstall .ntx86 postfix
;----------------------------------------------------------
[DriverInstall.ntx86]
CopyFiles=DriverCopyFiles
[DriverCopyFiles]
DefaultDestDir=10,system32\Drivers\apco25_vpcc_device_driver.sys,Default
DestDir=10,driver\driver,,0x20 ; Destination, Source, Temporary, Flags
[DriverInstall.ntx86.Services]
AddService=apco25_vpcc_device_driver,2,DriverService ; 2 in the
AddService directive indicates that
; the apco25_vpcc_device_driver
service will be the function driver
; for the device
[DriverService]
ServiceType=1 ; means a kernel driver
StartType=3
ErrorControl=1
ServiceBinary=%10%\system32\drivers\apco25_vpcc_device_driver.sys
[DriverInstall.ntx86.hw]
AddReg=DriverHwAddReg
[DriverHwAddReg]
HKR,,FriendlyName,,"APCO25 VPCC CARD"
Osman
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Tim Roberts
Sent: Monday, February 14, 2011 8:25 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] directory of sys files
xxxxx@netas.com.tr wrote:
Hi,
i have one more problem about INF file. I put the sys files and INF
file to my local file and point there while updating the device but it
warn me "the system cannot find the file specified".
Here is a part of my INF file;
...
[DeviceList]
"APCO25 VPCC IMBE DECODER" = DriverInstall,PCI\VEN_1057&DEV_18C0
[DestinationDirs]
DefaultDestDir=10,System32\Drivers ; 10 means the windows directory
(\windows or \winnt)
[SourceDisksFiles]
apco25_vpcc_device_driver.sys=0,r12,
As I pointed out earlier, that line says that
apco25_vpcc_device_driver.sys will be in a folder called "r12", not in
the same folder as the INF file. If it were me, I'd remove the "r12".
--
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
To unsubscribe, visit the List Server section of OSR Online at