Hello,
I'm using the Windows Server 2003 SP1 DDK to build my drivers and I
want to build also my MFC applications in the same build process (as I
did it till now with the Windows 2000 DDK).
The DDK has a compiler version 13.x. For the new MFC8 projects from
VS2005 I need a compiler version 14.x from VS2005. I called
vcvarsall.bat from VS2005 in my DDK environment, so I have the new
compiler to build the MFC8 projects. After some changes for
MFC_INCLUDES, MFC_INC_PATH, MFC_LIB_PATH my MFC8 compiles fine with DDK
build.
But I can no longer link my drivers, because __except_handler4 and
__local_unwind4 are unresolved externals. cl.exe 13.x generates code
with __except_handler3, which I can link with wdm.lib. cl.exe 14.x
generates code with __except_handler4, which I can not link with
wdm.lib.
The MFC procject is linked with msvcrtd.lib, whichs contains
__except_handler3 and __except_handler4.
I have looked in the c2.dll of the cl 14.x. There I have found
__except_handler4 and also __except_handler3. So I think, there must be
a way to generate older exception handling with the new compiler.
Who does know a compiler switch to generate older exception handling
(__except_handler3) with the compiler cl 14.x from VS2005?
Thanks, Volker