Thanks… that is what I have decided to do.
At 03:47 AM 10/10/2002, you wrote:
This may help.
In your version.h:
#define MY_VERSION_COMMA 1,2,3,4
#define MY_VERSION_DOTTED “5.6.7.8”in your rc file:
#include “version.h”
…
FILEVERSION MY_VERSION_COMMA
…
VALUE “FileVersion”, MY_VERSION_DOTTEDDo the same for any other versions or whatever
Now at least all of your version changing can be in one place…so you won’t
forget to change them allChris
“Justin Frodsham” wrote in message news:xxxxx@ntdev…
> >
> > I have an IOCTL to retrieve the driver version, but I am sick of changing
> > it in the resource file and my version.h include file (more like I keep
> > forgetting to change both). In user mode you can call
> > GetFileVersionInfo(). Is there some simple way to do this in kernel mode?
> > I tried making the .rc file include my version file, but then you can not
> > use the resource editor. It seems like there has got to be a simple way
> > to do this.
> >
> > -Justin
> >
> >
>
>
>
>—
>You are currently subscribed to ntdev as: zeppelin@io.com
>To unsubscribe send a blank email to %%email.unsub%%