Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Differences between DDK build 3790.1830 and WDK build 6001.18000

0 views
Skip to first unread message

ssylee

unread,
May 14, 2008, 7:08:00 PM5/14/08
to
I am trying to build an OSS called EMF Printer from SourceForge from the
source. From the technical documentation of the application, it is built
using DDK 3790.1830 for Windows 2000 environment. I have tried to build it
using the current build of WDK for Windows Vista environment the same way I
build the WDK examples, but I'm getting the following error message in the
log file (http://pastebin.com/m54862ed). The first line that the error
occurred is described on line 84 of the pastebin output, and the builder is
complaining about the version of NTDDI_VERSION and _WIN32_WINNT_. I'm
wondering about the exact difference between the WDK/DDK builds that could be
causing this. Thanks.

GNR

unread,
May 14, 2008, 7:21:00 PM5/14/08
to
I think you need to port this to Vista. The compiler options used are sticky
to old Windows OS (looks like)

/D_WIN32_WINNT=0x0600

/DNTDDI_VERSION=0x06000100

are reported to be conflicting.

One easy way is to set bot to the same value and try

--
--GNR

ssylee

unread,
May 14, 2008, 7:51:00 PM5/14/08
to
Thanks for the reply. If you don't mind me asking for a further
clarification, I'm not sure how to set the bot to the same value in either
the compiler settings or in the header file (although I think I should be
leaving this alone). It would be great if you can perhaps list an example
about that. Thanks.

GNR

unread,
May 14, 2008, 11:03:00 PM5/14/08
to
Can you post (paste) the sources file. The sources file contains the compiler
settings. If you look at that, you could figure out how to set BOTH settings
same.
--
--GNR

ssylee

unread,
May 14, 2008, 11:51:01 PM5/14/08
to
I couldn't find any settings in all of the sources files involved. The
sources files are in the pastebin links below:

http://pastebin.com/m5483c66e
http://pastebin.com/m1b989527
http://pastebin.com/m5d906380
http://pastebin.com/m4f816aa1

I'm not sure if I should be setting them the same in the separate build
commands.

GNR

unread,
May 15, 2008, 1:18:00 AM5/15/08
to
Do you use just "build" command to build the driver or a separate batch file?
How do you compile?

ssylee

unread,
May 15, 2008, 3:52:01 AM5/15/08
to
I just used "build" in the Windows Vista i386 build console.

GNR

unread,
May 15, 2008, 12:05:03 PM5/15/08
to
Then I suggest you ask the source forge author for help in the environment
for compilation.

ssylee

unread,
May 20, 2008, 6:58:21 PM5/20/08
to
I have a question regarding the suggestions. Do you mean try the compiler
options in the sources file as:

USER_C_FLAGS=/D_WIN32_WINNT=0x0600, /DNTDDI_VERSION=0x06000100?

GNR

unread,
May 21, 2008, 10:08:06 AM5/21/08
to
Try setting both to 0x0600

ssylee

unread,
May 21, 2008, 1:01:02 PM5/21/08
to
I tried something like USER_C_FLAGS=/EHsc /D_WIN32_WINNT=0x0600
/DNTDDI_VERSION=0x0600, but the build system is still complaining about
another variable such as:

1>c:\winddk\6001.18000\inc\api\sdkddkver.h(252) : error C1189: #error :
_WIN32_
WINNT settings conflicts with _WIN32_IE setting

Do I insert another /D_WIN32_IE=0x0600?

0 new messages