-
RUN_WPP $(SOURCES)-km
-
I’m building for WNET. I only mention the W2K define because the
prototypes for the W2K versions are different. I was speculating that
perhaps the “build for W2K” define was defined by mistake - somewhere.
-
I’m using 3763 (the IFS Kit which is a superset of the DDK)
jerry
-----Original Message-----
From: Ian Service [mailto:xxxxx@windows.microsoft.com]
Sent: Friday, April 11, 2003 7:25 PM
To: NT Developers Interest List
Subject: [ntdev] RE: Linking with WPP init & cleanup routines
What does your sources (RUN_WPP) line look like?
Why do you mention W2K are you trying to build for W2K?
Which version of the DDK?
Ian
-----Original Message-----
From: Kelley, Jerry [mailto:xxxxx@nsisoftware.com]
Sent: Friday, April 11, 2003 2:49 PM
To: NT Developers Interest List
One thing I noticed is that in the TMH file, the prototypes for those
routines are enclosed in extern “C” already.
The prototypes for the W2K version are different so I’m wondering if
WPP_TRACE_W2K_COMPATABILITY may be the culprit. I put in an undef for it
but that didn’t help.
-----Original Message-----
From: Doron Holan [mailto:xxxxx@windows.microsoft.com]
Sent: Friday, April 11, 2003 4:16 PM
To: NT Developers Interest List
Subject: [ntdev] RE: Linking with WPP init & cleanup routines
WppInitKm and WppCleanupKm are defined in the tmh files generated by
WPP.? If you are using c++, then you should extern"C" the #include of
the tmh file, ie in foo.cpp
?
#include <ntddk.h>
#include <myheaders.h>
?
extern “C” {
#include “foo.tmh”
}
to verify that the functions are defined in the tmh file, cd into $(O)
after an attempted build and open up the tmh file in your editor.
?
d
?
-----Original Message-----
From: Roddy, Mark [mailto:xxxxx@stratus.com]
Sent: Friday, April 11, 2003 12:03 PM
To: NT Developers Interest List
Subject: [ntdev] RE: Linking with WPP init & cleanup routines
?
Well despite Peter’s admonition to abandon our use of stoneage
debugprint technology, the facts are that hardly anyone is using this
stuff, including, as far as I can tell, almost all Microsoft drivers. So
I think you are off on the bleeding edge. Good luck. -----Original
Message-----
From: Kelley, Jerry [mailto:xxxxx@nsisoftware.com]
Sent: Friday, April 11, 2003 2:36 PM
To: NT Developers Interest List
Subject: [ntdev] Linking with WPP init & cleanup routines
?
I’m trying to get WPP tracing added to the my driver and am having
problems getting the init and cleanup routines to link. The linker says
it can’t find WppInitKm and WppCleanupKm. Now, my modules are written in
C++ and I tried declaring these two routines in an extern “C” scope but
I got some nasty error messages essentially saying I couldn’t do this -
it was already being done. Has anyone else had seen this? Is there a
specific library that I need to add?
Thanks in advance,
jerry
—
You are currently subscribed to ntdev as: xxxxx@stratus.com To
unsubscribe send a blank email to xxxxx@lists.osr.com
—
You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
—
You are currently subscribed to ntdev as: xxxxx@nsisoftware.com To
unsubscribe send a blank email to xxxxx@lists.osr.com
—
You are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to xxxxx@lists.osr.com
—
You are currently subscribed to ntdev as: xxxxx@nsisoftware.com To
unsubscribe send a blank email to xxxxx@lists.osr.com</myheaders.h></ntddk.h>