error c2664:"MessageBoxW":不能将参数2从“const char[15]”转换为“LPCWSTR”与指向的类型无关
2013-09-17 19:35
531 查看
UNICODE问题,项目菜单->最后的属性->配置属性->常规->项目默认值->unicode改为未设置
相关文章推荐
- 不能将参数2从“const char[15]”转换为“LPCWSTR”与指向的类型无关
- error C2664: “××函数”: 不能将参数 2 从“char *”转换为“LPCWSTR” 1> 与指向的类型无关;转换要求
- “error C2664: “MessageBoxW”: 不能将参数 2 从“char [300]”转换为“LPCWSTR” 1> 与指向的类型无关;转换要求 reinterpret_”问题解决
- error C2664:"CWnd::MessageBoxW"不能将参数从"const char[3]"转换为"LPCSTR"
- VS2010--不能将参数 2 从“const char [12]”转换为“LPCWSTR”与指向的类型无关
- VS2010--不能将参数 2 从“const char [12]”转换为“LPCWSTR”与指向的类型无关
- :MessageBoxW”: 不能将参数 1 从“const char [5]”转换为“LPCTSTR” 1> 与指向的类型无关;转换要求 reinterpret_cast、C 样式
- error C2664: “BOOL CDC::TextOutW(int,int,const CString &)”: 不能将参数 3 从“const char [18]”转换为“const CStr
- error C2664: “MessageBoxW”: 不能将参数 2 从“const char [10]”转换为“LPCWSTR”
- error C2664: “CreateMutexW”: 不能将参数 3 从“const char [8]”转换为“LPCWSTR”
- error C2664: “BOOL CDC::TextOutW(int,int,const CString &)”: 不能将参数 3 从“const char [18]”转换为“const CString &”
- error C2664: “LoadLibraryW”: 不能将参数 1 从“const char [21]”转换为“LPCWSTR”
- VS2010 error C2664: “GetModuleHandleW”: 不能将参数 1 从“const char [10]”转换为“LPCWSTR” 解决方法
- VC编译出现如下错误:错误 1 error C2664: “wsprintfW”: 不能将参数 2 从“const char [6]”转换为“LPCWSTR” e:\c_2008\pra6\pra6\
- error C2664: “CreateWindowExW”: 不能将参数 2 从“const char [11]”转换为“LPCWSTR”
- [error] MFC错误不能将参数1从"const char [3]"转换为"const wchar_t *"
- error C2664: “BOOL CDC::TextOutW(int,int,const CString &)”: 不能将参数 3 从“const char [18]”转换为“const CStr
- VS2010 error C2664: “CWnd::MessageBoxW”: 不能将参数 1 从“const char [3]”转换为“LPCTSTR”
- error C2664: “ATL::CStringT<BaseType,StringTraits>::Remove”: 不能将参数 1 从“const char [2]”转换为“char”
- error C2664: “MessageBoxW”: 不能将参数 2 从“const char [36]”转换为“LPCWSTR”