int CServerApp::ExitInstance()
{
// TODO: Add your specialized code here and/or call the base class
CoUninitialize(); //释放 COM 环境(数据库)
CServerDlg::m_NetSvr.UnInit(); //反初始化完成端口类 return CWinApp::ExitInstance();
}错误提示:
error C2228: left of '.UnInit' must have class/struct/union typeCIocpModeSvr m_NetSvr; 定义在CServerDlg.h中
{
// TODO: Add your specialized code here and/or call the base class
CoUninitialize(); //释放 COM 环境(数据库)
CServerDlg::m_NetSvr.UnInit(); //反初始化完成端口类 return CWinApp::ExitInstance();
}错误提示:
error C2228: left of '.UnInit' must have class/struct/union typeCIocpModeSvr m_NetSvr; 定义在CServerDlg.h中
SerDlg.m_NetSvr.UnInit(); //反初始化完成端口类但不知有没有其它的,