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.

上一篇:接收HTTP传输错误:javax.net.ssl.SSLHandshakeException:sun.security.validator.ValidatorException:PKIX路径构建失败


下一篇:Maven的使用--Eclipse在线安装Maven插件m2e