求解决错误问题
各位高手帮帮忙error C2040: 'dlg' : 'char *' differs in levels of indirection from 'class CShuruDialog'
怎么解决啊?
出错代码
void CMyDrawView::OnShuruWenzi()
{
// TODO: Add your command handler code here
CShuruDialog dlg;
if(dlg.DoModal()==IDOK)
{
strcpy(wenben,dlg.m_wenzi);
Invalidate();
}
}