2009年4月22日 星期三

LPTSTR problem

LPTSTR has one of two possible definitions depending on whether you're duing a Unicode build or not

wcslen only works on Unicode strings, so in an ANSI build, LPTSTR and wcslen are incompatible

solution: add UNICODE in preprocessor definations

沒有留言: