Re: another question for using ntstrsafe.lib
From: Mark Roddy (markr_at_hollistech.com)
Date: 07/20/04
- Next message: gaz: "Re: DEVMODE"
- Previous message: Ray Trent: "Re: Time & Date format for windows 2000 task bar"
- In reply to: michelle: "RE: another question for using ntstrsafe.lib"
- Next in thread: michelle: "Re: another question for using ntstrsafe.lib"
- Reply: michelle: "Re: another question for using ntstrsafe.lib"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 19 Jul 2004 21:08:19 -0400
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: gaz: "Re: DEVMODE"
- Previous message: Ray Trent: "Re: Time & Date format for windows 2000 task bar"
- In reply to: michelle: "RE: another question for using ntstrsafe.lib"
- Next in thread: michelle: "Re: another question for using ntstrsafe.lib"
- Reply: michelle: "Re: another question for using ntstrsafe.lib"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|