Re: RtlStringCchVPrintfW-Error in Win2000 WDK Build environment
- From: "Doron Holan [MSFT]" <doronh@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 10 Jul 2008 11:05:09 -0700
if you want one driver for all OS releases, always add -DNTSTRSAFE_LIB to C_DEFINES w/out the conditional
d
--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.
"kota" <kota@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:4EA896E1-B961-483A-86D0-8F429CA065B0@xxxxxxxxxxxxxxxx
Hi,
Thanks for your reply, I am still getting the same error, ntstrsafe.lib was
already included in my sources file, i replaced that and add the code you
mentioned, here it is:
---------------------------------------
TARGETNAME=pmc55xx
TARGETTYPE=DRIVER
KMDF_VERSION=1
INF_NAME=pmc55xx
MISCFILES=$(OBJ_PATH)\$(O)\$(INF_NAME).inf
NTTARGETFILES=
PRECOMPILED_INCLUDE=precomp.h
PRECOMPILED_PCH=precomp.pch
PRECOMPILED_OBJ=precomp.obj
C_DEFINES = -DLITTLE_ENDIAN -DPCI_CODE -DPLX_DRIVER -DDRIVER_MAJVER=$(MAJOR)
-DDRIVER_MINVER=\"$(MINOR)\"
!IF "$(DDK_TARGET_OS)"=="Win2K"
C_DEFINES=$(C_DEFINES) -D_WIN2K_COMPAT_SLIST_USAGE -DNTSTRSAFE_LIB
TARGETLIBS=$(TARGETLIBS) $(DDK_LIB_PATH)\int64.lib
$(DDK_LIB_PATH)\ntstrsafe.lib
!ENDIF
-----------------------------------
Thanks,
Kota
.
- References:
- Re: RtlStringCchVPrintfW-Error in Win2000 WDK Build environment
- From: Maxim S. Shatskih
- Re: RtlStringCchVPrintfW-Error in Win2000 WDK Build environment
- Prev by Date: Re: Device Manager question about USB device
- Next by Date: Re: WinUSB
- Previous by thread: Re: RtlStringCchVPrintfW-Error in Win2000 WDK Build environment
- Next by thread: where to free my own ndis buffer
- Index(es):
Relevant Pages
|