发布于 2013-06-25 00:35:41
PCHAR用于char,而LPCWSTR为const wchar_t*,而在Unicode构建中,lstrlen是Unicode函数lstrlenW的宏。
PCHAR
char
LPCWSTR
const wchar_t*
lstrlen
lstrlenW
您应该专门调用lstrlenA来使用ANSI函数。
lstrlenA
https://stackoverflow.com/questions/17287313
相似问题