关于error C2664
来源:互联网 发布:淘宝极速贷款 编辑:程序博客网 时间:2024/06/05 05:24
关于error C2664的错误一直不明白从6.0正确的错误拷贝到vs2005总会出现这个错误
例如void CTestDlg::OnBnClickedBtnAdd()
{if(m_bIsCreated==FALSE)
{
m_btn.Create("New",BS_DEFPUSHBUTTON|WS_VISIBLE|WS_CHILD,CRect(0,0,10,10),this,123);
m_bIsCreated=TRUE;
}
else
{
m_btn.DestroyWindow();
m_bIsCreated=FALSE;
}
d:/111/mybole/mybole/testdlg.cpp(47) : error C2664: 'CButton::Create' : cannot convert parameter 1 from 'const char [4]' to 'LPCTSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
- 关于error C2664
- error C2664
- error C2664
- ERROR C2664
- error C2664:
- error C2664
- error C2664
- error C2664,error C2039
- 关于VC2008编译出现错误“error C2664: ” 的处理方法:
- VC2005 error C2664
- error C2664 c++
- error C2664: “MessageBoxW”解决方案
- error C2664-----STL学习
- error C2664-----STL学习
- error C2664的解决方法
- error C2664: 'LoadImageW'
- Error C2664 解决方法
- VS2008 出现 error C2664
- 在magento中新建并调用一个布局文件
- MFC— 无法添加按钮函数“cannot add new member” 和_CrtIsValidHeapPointer
- oracle表分区详解--学习一下
- Gladinet license
- vb.net datagridview 使用方法
- 关于error C2664
- 如何搭建hadoop
- 【原创】android 中安装应用程序方法及代码
- 五大主流浏览器CSS3和HTML5兼容性比拼
- [异常]Support for specifying both a day-of-week AND a day-of-month parameter is no
- SQL 补课
- 比较不错的资源搜索网站
- [2011-6-8]Ei&ISTP检索的第三届计算智能与软件工程(CiSE 2011)国际学术会议
- mini6410安装愤怒的小鸟