Hi,
I had a simple driver compiled and working under Visual Studio 6.0 and
Windows 2000 DDK on a Win@K system. I wanted to try to get it compile on
my WinXP professional system.
I got Windows Server 2003 DDK installed, from the documentation, it
seems to suppose to work with WinXP and 2000. When I tried to compile
the project, I got the following error:
G:\WINDDK\3790\INC\DDK\WNET\NTDDK.h(23) : fatal error C1189: #error :
Compiler version not supported by Windows DDK
It failed on this statement.
#if _MSC_VER < 1300
From Walter Oney's book, I was suppose to use Win.NET DDK and VS 6.0. I
only saw this server DDK, WinXP, Win2000 DDK. Which DDK was I suppose
to use? Does this version of DDK not suppose work with VS 6.0?
I tried to compile the same project under VS.NET 2003, it did not give a
compiler version problem but I got a linker error:
something.obj : error LNK2019: unresolved external symbol
___CxxFrameHandler referenced in function
__ehhandler$?somefunc@@YGHPAUSomestuct@@@Z
Release\somedriver.SYS : fatal error LNK1120: 1 unresolved externals
I am not sure what caused this linker error.
I am fairly new in this driver development, any pointer would be greatly
appreciated. Thanks in advance!
Linda Yang