mbstowcs
Run-Time Library Reference
mbstowcs, _mbstowcs_l
Converts a sequence of multibyte characters to a corresponding sequence of wide characters.
size_t mbstowcs(功勞歸給我第一個reference的人
wchar_t *wcstr,
const char *mbstr,
size_t count
);
Reference:
http://blog.bs2.to/post/icq/9921
http://msdn2.microsoft.com/en-us/library/k1f9b8cy(VS.80).aspx
Update::
看來這個也行
MultiByteToWideChar