- Devcon sample generating errors...
- Posted by Gianluca Varenni on January 31st, 2007
Are you using DDK 2003 SP1?
I'm just asking because the newer ddk's install under \winddk\<build>.
d:\Ntddk sort of reminds me the DDK for NT4 (yes, i still have it installed
on a VM...)
Have a nice day
GV
"shoeb" <shoeb.ali@stellarinfo.com> wrote in message
news:ulkL1zPRHHA.5032@TK2MSFTNGP03.phx.gbl...
- Posted by shoeb on January 31st, 2007
hi...
I am trying to compile the devcon source(taken from 2003 DDK) with
win2000 DDK checked build.I am getting the errors as follows...
d:\ntddk\inc\commctrl.h(28) : error C2146: syntax error : missing ';'
before identifier 'HRESULT'
d:\ntddk\inc\commctrl.h(28) : fatal error C1004: unexpected end of
file found
d:\ntddk\inc\commctrl.h(28) : error C2146: syntax error : missing ';'
before identifier 'HRESULT'
d:\ntddk\inc\commctrl.h(28) : fatal error C1004: unexpected end of
file found
d:\ntddk\inc\commctrl.h(28) : error C2146: syntax error : missing ';'
before identifier 'HRESULT'
d:\ntddk\inc\commctrl.h(28) : fatal error C1004: unexpected end of
file found
Any ideas as to why this is happening?
Thanks
Regards
S
- Posted by Tim Roberts on February 2nd, 2007
"shoeb" <shoeb.ali@stellarinfo.com> wrote:
Yes. It's because you are compiling the devcon source from the 2003 DDK
with the 2000 DDK. Don't do that.
The 2003 DDK includes a compiler that is 10 years newer than the one in the
2000 DDK. The DDKs now include a compiler because Microsoft wants you to
use that specific compiler.
--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.