我的程序是:if(!m_Comm.GetPortOpen())              m_Comm.SetPortOpen(TRUE);//打开串口       UpdateData(TRUE);      m_Comm.SetOutput(COleVariant(m_SendData));//发送数据
出现的问题是:D:\MSDev98\MyProjects\CommTest\CommTestDlg.cpp(183) : error C2228: left of '.GetPortOpen' must have class/struct/union type