cannot convert from '_TCHAR *' to 'char *'

Reference: Why can't convert TCHAR* to char*

 

Need to Use Multi-Byte Character Set in project's setting.

If your project defines UNICODE/_UNICODE, which is the same as specifying it to be a Unicode build in the project settings, TCHARs will be wchar_t rather than char.

posted @ 2014-12-30 17:09  細水長流  阅读(420)  评论(0编辑  收藏  举报