Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

RtlInitUnicodeString() Link error

155 views
Skip to first unread message

robin

unread,
Apr 28, 2004, 12:22:25 PM4/28/04
to
I call the RtlInitUnicodeString(), VS.net prompt Link error,
I'v included "winternl.h"

Linking...
Mem.obj : error LNK2019: unresolved external symbol "void __cdecl
RtlInitUnicodeString(struct _UNICODE_STRING *,unsigned short const *)"
(?RtlInitUnicodeString@@YAXPAU_UNICODE_STRING@@PBG@Z) referenced in function
_main
Debug/Mem.exe : fatal error LNK1120: 1 unresolved externals

Jochen Kalmbach

unread,
Apr 28, 2004, 1:35:17 PM4/28/04
to
robin wrote:

Hao have you defined the prototyp?
You missed an 'extern "C"'

--
Greetings
Jochen

Do you need a memory-leak finder ?
http://www.codeproject.com/tools/leakfinder.asp

Do you need daily reports from your server?
http://sourceforge.net/projects/srvreport/

0 new messages