不能将参数 1 从“const char [11]”转换为“LPCWSTR”
来源:互联网 发布:淘宝鞋子关键词 编辑:程序博客网 时间:2024/04/28 04:32
原因:该工程是在UNICODE下编程的
解决方法1:选中项目,然后点击属性——>配置属性——>常规——>项目默认值——>字符集,选为“使用多字节字符集"
解决方法2:在字符串前面加上 _T() ,如_T("确定")阅读全文
0 0
- 不能将参数 1 从const char [*]转换为LPCWSTR
- VS2010点滴——不能将参数 1 从“const char [11]”转换为“LPCWSTR”
- VS2010点滴——不能将参数 1 从“const char [11]”转换为“LPCWSTR”
- VS2010点滴——不能将参数 1 从“const char [11]”转换为“LPCWSTR”
- VS2010点滴——不能将参数 1 从“const char [11]”转换为“LPCWSTR”
- 不能将参数 1 从“const char [11]”转换为“LPCWSTR”
- error C2664: “CreateWindowExW”: 不能将参数 2 从“const char [11]”转换为“LPCWSTR”
- error C2664: “LoadLibraryW”: 不能将参数 1 从“const char *”转换为“LPCWSTR”
- 不能将参数 1 从“const char [8]”转换为“LPCWSTR”
- 不能将参数 1 从“const char [17]”转换为“LPCWSTR”
- VS2010 error C2664: “GetModuleHandleW”: 不能将参数 1 从“const char [10]”转换为“LPCWSTR” 解决方法
- DLL 调用:error C2664: “LoadLibraryW”: 不能将参数 1 从“const char *”转换为“LPCWSTR”
- error C2664: “LoadLibraryW”: 不能将参数 1 从“const char *”转换为“LPCWSTR”
- vc 不能将参数 1 从const char [*]转换为LPCWSTR
- DX学习笔记--(1)不能将参数 2 从“const char *”转换为“LPCWSTR”
- error C2664: “LoadLibraryW”: 不能将参数 1 从“const char *”转换为“LPCWSTR”
- error C2664: “LoadLibraryW”: 不能将参数 1 从“const char [21]”转换为“LPCWSTR”
- 【L“”】无法将参数从“const char”转换为“LPCWSTR”
- vc 消息与事件的区别
- 文章标题
- Maven配置Log4j
- [Tomcat剖析] 1 Tomcat整体架构
- Androdi平台camera的相关知识总结
- 不能将参数 1 从“const char [11]”转换为“LPCWSTR”
- HDU 6208 The Dominator of Strings (kkkkkk....mp)
- redis持久化存储
- 消息和事件的区别 VC++解惑
- Android 布局XML性能优化
- weight-init.lua
- 应用SSH增强产品竞争力
- BZOJ 3730: 震波 动态树分治 线段树 lca
- 好用html5-api:classList