Hi Gurus,
I am a nebie…!
When I was building some source code for a Printer Driver( either
as usermode/ kernel mode DLL) ,I am facing a problem with debug statments.
If I use KdPrint() statement , there is an error poping up as
KdPrint Undefined variable.( i did not include ntddk.h).
If I include <ntddk.h> , there are so many error coming up
some,showing syntax errors in the header files and some with FAR
ariables( abt 60 errors).
I am confused, whether I can use KdPrint() in printer related dlls
or not…?
if not, what other debug print statement should I use.
Why i am getting errors if I include <ntddk.h> along with
<winddi.h>
Any suggestions or help appreciated.
Thanks & Regards,
Ashok.
K.V.S.Ashok Kumar,
Systems Engineer - Microsoft labs,
Network & Systems S/W group,
E&I Solutions, Wipro Technologies,
Hi-Tech City, Madhapur,
Hyderabad.
Ph: +91-40-6565363(D)
Fax: +91-40-3119801
E-mail : xxxxx@wipro.com
visit us at: http://www.wipro.com
“Success is the ability to go from one failure to
another with no loss of enthusiasm” - Churchill
—
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com</winddi.h></ntddk.h></ntddk.h>
You can’t include ntddk.h in printer/display driver project. You should use
winddi.h and instead of KdPrint use EngDebugPrint.
Bye,
SaB
-----Original Message-----
From: Ashok Kumar Vijaya Srinivas Kadavakollu
[mailto:xxxxx@wipro.com]
Sent: Friday, February 09, 2001 11:47 AM
To: NT Developers Interest List
Subject: [ntdev] problem with KdPrint() in printer Drivers !!Hi Gurus,
I am a nebie…!
When I was building some source code for a Printer
Driver( either
as usermode/ kernel mode DLL) ,I am facing a problem with
debug statments.
If I use KdPrint() statement , there is an error
poping up as
KdPrint Undefined variable.( i did not include ntddk.h).
If I include <ntddk.h> , there are so many error coming up
> some,showing syntax errors in the header files and some with FAR
> ariables( abt 60 errors).
>
> I am confused, whether I can use KdPrint() in
> printer related dlls
> or not…?
> if not, what other debug print statement should I use.
> Why i am getting errors if I include <ntddk.h> along with
> <winddi.h>
> Any suggestions or help appreciated.
>
> Thanks & Regards,
> Ashok.
>
> K.V.S.Ashok Kumar,
> Systems Engineer - Microsoft labs,
> Network & Systems S/W group,
> E&I Solutions, Wipro Technologies,
> Hi-Tech City, Madhapur,
> Hyderabad.
> Ph: +91-40-6565363(D)
> Fax: +91-40-3119801
> E-mail : xxxxx@wipro.com
> visit us at: http://www.wipro.com
> “Success is the ability to go from one failure to
> another with no loss of enthusiasm” - Churchill
>
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@mastereye.kiev.ua
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
—
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com</winddi.h></ntddk.h></ntddk.h>