![]() |
#2
wavewind2011-05-28 10:38
|
各位高手帮帮忙
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();
}
}