syntax error in ntddk.h

syntax error in ntddk.h


[ Follow Ups ] [ Post Followups ] [ FAQ ]
[ Back to Messages ]

Posted by Tamas Pocker on February 11, 2006 at 13:42:49:

Hi all!

Iam a new guy to the driver development, and I have some problems at the beginning. If I want to compile my .c file with ntddk.h included, the compile process always finishes with syntax error! I tried everything I could but I dont really know whats the real problem...
Please, can u help me?
Here is the error:


driv.c
d:\WINDDK\ntddk.h(10640) : error C2061: syntax error : identifier 'PCONTEXT'
d:\WINDDK\ntddk.h(10641) : error C2059: syntax error : '}'
d:\WINDDK\ntddk.h(11584) : fatal error C1189: #error : "no target architecture"


Follow Ups:


Post a Followup

Please note:
  • Messages must be on the topic of this forum!
  • No posting of requests for cracks, codes, serials, or warez!
  • No posting of illegal software or links to such sites!
  • No use of profanity or inappropriate or offensive language!
  • Spamming is not allowed!
  • We track the IP addresses of forum abusers!
  • Abuse of this forum will be reported to your ISP!
Name:
E-Mail (optional):
please note: your e-mail address will be visible in your message.

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL: