请问MessageBox在Wince下
void CMessageboxView::OnLButtonDown(UINT nFlags, CPoint point)
{
MessageBox("LBUTTONDOWN");
// TODO: Add your message handler code here and/or call default
CView::OnLButtonDown(nFlags, point);
}
这样一段代码,在vc++6.0中正常工作
在evc++4.0中编译错误
error C2664: 'MessageBoxW' : cannot convert parameter 1 from 'char [12]' to 'const unsigned short *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Error executing cl.exe.
请问是为何