Re: RtlStringCchVPrintfW-Error in Win2000 WDK Build environment

Tech-Archive recommends: Speed Up your PC by fixing your registry



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

.



Relevant Pages

  • Sound, dual soundcards, second attempt (better I hope)
    ... PCI: PCI BIOS revision 2.10 entry at 0xfdb01, ... Journalled Block Device driver loaded ... usb.c: new USB bus registered, ... alias char-major-10-175 agpgart ...
    (comp.os.linux)
  • Re: Starting a driver
    ... Please do not send e-mail directly to this alias. ... msvad to know if you can do what you want, but the underlying bth radio will ... >> the bluetooth stack "starts" the btaudio driver by enumerating the>> audio ...
    (microsoft.public.development.device.drivers)
  • Re: DDK bug? moufiltr installation
    ... Please do not send e-mail directly to this alias. ... > I will also try the lower filter option. ... > server DDK) but not hidclass source code. ... Where can I get hidclass driver ...
    (microsoft.public.development.device.drivers)
  • Re: USB HID Absolute Positioning Mouse Resolution Issues
    ... Please do not send e-mail directly to this alias. ... > emulate an input device from user space (using uinput kernel driver). ... >>> We also have a need similar to yours as we will be emulating a USB ... >>> absolute ...
    (microsoft.public.development.device.drivers)
  • Re: How to break from a deadlock...
    ... Changing the state is only half the battle, you then need the scheduler to ... Please do not send e-mail directly to this alias. ... Each time this happens, my driver keeps running, waiting on this ...
    (microsoft.public.development.device.drivers)