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

时间:2014-12-30 18:33:37   收藏:0   阅读:407

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.

原文:http://www.cnblogs.com/cindy-hu-23/p/4194068.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!