Re: How can I access version data from the .rc file in kernel mode?

Thanks… that is what I have decided to do. :slight_smile:

At 03:47 AM 10/10/2002, you wrote:

This may help.

In your version.h:
#define MY_VERSION_COMMA 1,2,3,4

in your rc file:
#include “version.h”



Do 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 all :slight_smile:


“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:
>To unsubscribe send a blank email to %%email.unsub%%