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
張貼留言
沒有留言:
張貼留言