convert system::string * to char * , error LINK2020: occurs

Profile error LNK2020: unresolved token (0A000023) ??_7type_info@@6B@
Profile error LNK2020: unresolved token (0A000025) _CrtDbgReport
Profile error LNK2020: unresolved token (0A000033) memset
Profile error LNK2020: unresolved token (0A00003C) free

---------
how to resolve it?
[305 byte] By [qijie] at [2007-11-18 13:37:05]
# 1 Re: convert system::string * to char * , error LINK2020: occurs
have you tried something like this...

String* s="some text";
__wchar_t c=s->get_Chars(s->Length);
dynamic_sysop at 2007-11-9 12:02:06 >