How to resolve the conflict between NDIS.H and WDM.h in windows 98?

Hello all,

As title;

Anthony

If I were you I split the code into two parts the one which requires
NDIS.h the other which required WDM.h. Put these two parts into two
different files compile and link.

-Srin.

-----Original Message-----
From: Anthony [mailto:xxxxx@hotmail.com]
Sent: Thursday, July 17, 2003 11:43 PM
To: Windows System Software Developers Interest List
Subject: [ntdev] How to resolve the conflict between NDIS.H and WDM.h
in
windows 98?

Hello all,

As title;

Anthony


You are currently subscribed to ntdev as: xxxxx@nai.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

> Hello all,

As title;

Anthony

The same way you solve this problem on other Windows platforms use the
NDIS_WDM define in the build. I believe you also have to define
BINARY_COMPATIBLE=1, I can’t remember off the top of my head, but a quick
perusal through ndis.h will tell you. These switches cause NDIS.h to
include WDM.h. This works on 98 as well, although I can’t remember if
this worked on 98 Gold? At anyrate, if you have users still using 98Gold,
time to tell them to upgrade.

You might search Google for NDIS_WDM, and USE_KLOCKS. This will probably
tell you everything you ever wanted to know about the topic plus a whole
lot more.


Bill McKenzie
Compuware Corporation
Watch your IRPs/IRBs/URBs/SRBs/NDIS pkts with our free WDMSniffer tool:
http://frontline.compuware.com/nashua/patches/utility.htm

Learn to program in C/C++.

Jamey

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Anthony
Sent: Thursday, July 17, 2003 11:43 PM
To: Windows System Software Developers Interest List
Subject: [ntdev] How to resolve the conflict between NDIS.H and WDM.h in
windows 98?

Hello all,

As title;

Anthony


You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

BTW, forget I mentioned 98Gold :slight_smile: This is a build issue, it will work no
matter. I was thinking there was a problem with KLOCKS or something, but
it was essentially a brain fart.

Bill M.

> Hello all,
>
> As title;
>
> Anthony

The same way you solve this problem on other Windows platforms use the
NDIS_WDM define in the build. I believe you also have to define
BINARY_COMPATIBLE=1, I can’t remember off the top of my head, but a quick
perusal through ndis.h will tell you. These switches cause NDIS.h to
include WDM.h. This works on 98 as well, although I can’t remember if
this worked on 98 Gold? At anyrate, if you have users still using 98Gold,
time to tell them to upgrade.

You might search Google for NDIS_WDM, and USE_KLOCKS. This will probably
tell you everything you ever wanted to know about the topic plus a whole
lot more.


Bill McKenzie
Compuware Corporation
Watch your IRPs/IRBs/URBs/SRBs/NDIS pkts with our free WDMSniffer tool:
http://frontline.compuware.com/nashua/patches/utility.htm