我想加一个简单的按钮
btn.Create("button",WS_CHILD|BS_DEFPUSHBUTTON,CRect(0,0,100,100),this,123);
btn.ShowWindow(SW_SHOWNORMAL);
这段代码在vc6里面可以正常编译运行,可是在vs2005里面会有错误
e:\学习\练习\test2\mainfrm.cpp(69) : error C2664: 'CButton::Create' : cannot convert parameter 1 from 'const char [7]' to 'LPCTSTR'
1>        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast)
求教这是为什么啊?我刚刚开始学习vc,请各位大哥帮忙啊。