我在CView中定义了 CADODatabase *m_conn;
在自己定义的Dlg类中定义了 CView *m_parent;然后我要在CDlg类中调用 m_conn
我是这样调用的: m_parent->m_conn->Execute(sql.GetBuffer(100));编译通过,运行时提示出错。
我查看Debug发现:m_parent->m_conn 没有值 出现 CXX0030: Error: expression cannot be evaluated 这是怎么回事呀?
求救!谢谢!