about the *.rc file of my driver

in the rc file of my driver, i use the following code to define my file version:
FILEVERSION 1,2,3,4
when the sys is generated, I check the details of properties of my sys, I found the value is as follows:
file version 1.2.3.4

but, when I check the value of serial.sys in device manager, I found the value is as follows:
file version: 6.1.7600.16385(win7_rtm.090713-1255)

How can I generate the rest string for my sys file, just as (win7_rtm.090713-1255)??

thanks!

On Mon, 8 Nov 2010 05:52:06 -0500 (EST)
xxxxx@hotmail.com wrote:

in the rc file of my driver, i use the following code to define my
file version: FILEVERSION 1,2,3,4
when the sys is generated, I check the details of properties of my
sys, I found the value is as follows: file version 1.2.3.4

but, when I check the value of serial.sys in device manager, I found
the value is as follows: file version:
6.1.7600.16385(win7_rtm.090713-1255)

How can I generate the rest string for my sys file, just as
(win7_rtm.090713-1255)??

I think you need to set VER_FILEVERSION_STR -
http://www.techtalkz.com/microsoft-device-drivers/262446-how-do-i-set-driver-version-description.html
has a great example of how it can be configured.


Bruce Cran

These .rc files in driver projects are not needed at all; you can use this instead:
http://bit.ly/dbRIxl

– pa

thanks everyone.

If you have already made required change and driver file details are showing
it correctly and if it is only driver description from device manager it not
reflecting the same then my guess is you forgot to made the change in INF
file and that is the reason you are not finding correct driver version.

Hope it will help…

/sarbojit

On Thu, Nov 11, 2010 at 1:29 PM, wrote:

> thanks everyone.
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>