You should be using the Windows 2000 DDK to build the driver. The
biggest issue will be using system functions that are not supported in
Windows 98/ME. Many are supported via NTKern.VxD (bound into
vmm32.dll). The best way to catch these is to load the debug version of
VxDLDR.VxD in the Windows\System\VMM32 folder. It will emit debug spew
if it has a problem with loading you driver due to a missing external
reference, as in:
“PELDR: MyDriver.sys can’t find export NdisCancelSend in module NDIS.”
The DebugKit for Windows ME already contains the debug version of
VxDLDR.VxD, so you don’t need to install it manually.
There will also be differences in the .INF file. Windows 9x/ME .INF
files contain entries like DevLoader and DeviceVxDs, as in:
[PASSTHRU.AddReg]
HKR,DevLoader,*ndis
HKR,DeviceVxDs,passthru.sys
And does not use Windows 2000/XP service entries such as:
[MYDRIVER_Service_Inst]
DisplayName = %MYDRIVER_Desc%
ServiceType = 1 ;SERVICE_KERNEL_DRIVER
StartType = 2 ;SERVICE_AUTO_START
ErrorControl = 1 ;SERVICE_ERROR_NORMAL
ServiceBinary = %12%\packet.sys
LoadOrderGroup = “PNP_TDI”
If you’re building a network driver, I have a list of other issues. The
list is currently under edit and review; I’ll post it to the public at
large when it is complete. I’ll send it as a work-in-progress upon
request.
Bryan S. Burgin
xxxxx@microsoft.com
This posting is provided “AS IS” with no warranties, and confers no
rights. You assume all risk for your use. (c) 2001 Microsoft
Corporation. All rights reserved.
-----Original Message-----
From: xxxxx@yahoo.com [mailto:xxxxx@yahoo.com]
Sent: Wednesday, October 03, 2001 6:01 PM
To: NT Developers Interest List
Subject: [ntdev] Building a kernal mode library in 98 & Me.
Hi,
I am writing a library for a kernal mode driver. I am able to build
it
in Win 2K environment, but in win 98 & Me i am not able to build. Is the
building method in 98 and Me different form 2k. Can any one provide the
sources, makefile and makefile.mk files samples for building a Kernal
mode
library. i tried modifing the ones given in the DDK samples but its
giving
Nmake compiler errors.
thanks in advance
with regards.
You are currently subscribed to ntdev as: xxxxx@microsoft.com
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