From: r_konjeti on
1) I have dll & driver compiled in different revs of DDK. I dont have
any code in driver/dll to tell me which rev of DDK is used for building
these binaries. Is there any way I can find which DDK rev I used to
build those binaries (for testing only).

2) For future (testing use) I want to save DDK rev information in the
binary. Which defines should I use. I know I have to store this as
revision history in software configuration management tool. But I still
want little bit configuration data in the binary itself.

3)What is appropriate way to handle this type of problem. Is there any
build option that allows me to generate automatic revision/build
numbers etc or some tools integrated with compiler.

Thanks,
Raj

From: Tim Roberts on
r_konjeti(a)mailcity.com wrote:
>
>1) I have dll & driver compiled in different revs of DDK. I dont have
>any code in driver/dll to tell me which rev of DDK is used for building
>these binaries. Is there any way I can find which DDK rev I used to
>build those binaries (for testing only).

Tricky question. I'm not sure why that piece of information would be
important, but I suppose you could use _MSC_VER to do that. The major DDK
versions use different versions of the compiler.
--
- Tim Roberts, timr(a)probo.com
Providenza & Boekelheide, Inc.
From: r_konjeti on
This information basically helps me in elimination process of problem.
To make sure the problem I have (if any) are not because of change in
DDK version etc.

From: Ray Trent on
Not sure if this is what you're looking for, but from ntverp.h in one of
my DDK directories (not surprisingly, the 3790.1830 build):

#define VER_PRODUCTBUILD /* NT */ 3790
#define VER_PRODUCTBUILD_QFE 1830

r_konjeti(a)mailcity.com wrote:
> 1) I have dll & driver compiled in different revs of DDK. I dont have
> any code in driver/dll to tell me which rev of DDK is used for building
> these binaries. Is there any way I can find which DDK rev I used to
> build those binaries (for testing only).
>
> 2) For future (testing use) I want to save DDK rev information in the
> binary. Which defines should I use. I know I have to store this as
> revision history in software configuration management tool. But I still
> want little bit configuration data in the binary itself.
>
> 3)What is appropriate way to handle this type of problem. Is there any
> build option that allows me to generate automatic revision/build
> numbers etc or some tools integrated with compiler.
>
> Thanks,
> Raj
>


--
Ray
From: r_konjeti on
Thanks Tim and Ray. This is what I was looking for.