|
Prev: Problem with checked kernel on Windows 2003 Server SP1
Next: Question about structure of "USBCAMD_DEVICE_EXTENSION"
From: r_konjeti on 23 Sep 2005 15:16 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 25 Sep 2005 00:05 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 26 Sep 2005 09:23 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 26 Sep 2005 12:23 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 27 Sep 2005 16:39
Thanks Tim and Ray. This is what I was looking for. |