Re: another question for using ntstrsafe.lib
From: michelle (michelle_at_discussions.microsoft.com)
Date: 07/20/04
- Next message: Alexei: "Re: CreateFile() on NDIS Protocol Driver failes for Regular User A"
- Previous message: Boswell: "about SCSI command"
- In reply to: Mark Roddy: "Re: another question for using ntstrsafe.lib"
- Next in thread: Mark Roddy: "Re: another question for using ntstrsafe.lib"
- Reply: Mark Roddy: "Re: another question for using ntstrsafe.lib"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 19 Jul 2004 22:17:01 -0700
Hi Mark Thanks for the Reply
I had done that . We used a VS.Net 2002 based solution environment .
In the LINKER/Input/Additional Dependencies ... I added
$(BASEDIR)\lib\wxp\i386\ksguid.lib
$(BASEDIR)\lib\i386\free\wdm.lib
$(BASEDIR)\lib\i386\free\usbd.lib
$(BASEDIR)\lib\w2k\i386\ntstrsafe.lib ...
Is this enough or do I have to do something more ...
TIA
"Mark Roddy" wrote:
> To use the library versions of the kernel-mode safe string functions
> 1.. Define NTSTRSAFE_LIB before including the new header file, as shown.
> #define NTSTRSAFE_LIB
> #include <ntstrsafe.h>2.. In your project's sources file, add a TARGETLIBS
> entry for $(DDK_LIB_PATH)\ntstrsafe.lib
>
> Did you follow these two steps?
> --
>
> =====================
> Mark Roddy
> Windows 2003/XP/2000 Consulting
> Hollis Technology Solutions 603-321-1032
> www.hollistech.com
> markr@hollistech.com
>
>
> "michelle" <michelle@discussions.microsoft.com> wrote in message
> news:95958142-AF83-4658-BE70-9591AE6DA5BB@microsoft.com...
> >
> > these wctomb.obj and mbtowc.obj files are not mine
> > Do I need to include some other files apart from ntstrsafe.h for this to
> go away ?
> >
> > TIA
> >
> > "shadab" wrote:
> >
> > >
> > > while using ntstrsafe.lib in my w2k driver I get the following error :
> > > ntstrsafe.lib(wctomb.obj) : error LNK2019: unresolved external symbol
> _RtlUnicodeToMultiByteN@20 referenced in function _wctomb
> > > ntstrsafe.lib(mbtowc.obj) : error LNK2019: unresolved external symbol
> _RtlAnsiCharToUnicodeChar@4 referenced in function _mbtowc
> > >
> > > My DDK build is windows xp DDK 2600.1106
> > > What could be the problem
> > >
> > > TIA
> > >
>
>
>
- Next message: Alexei: "Re: CreateFile() on NDIS Protocol Driver failes for Regular User A"
- Previous message: Boswell: "about SCSI command"
- In reply to: Mark Roddy: "Re: another question for using ntstrsafe.lib"
- Next in thread: Mark Roddy: "Re: another question for using ntstrsafe.lib"
- Reply: Mark Roddy: "Re: another question for using ntstrsafe.lib"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|