c++ iobject 是不是对vs2010支持不太好?
pView->m_pWorkSpace = new UGWorkspace();
UGWorkspaceConnection* pworkSpaceCnn = new UGWorkspaceConnection();
pworkSpaceCnn->m_strServer = sstr;
pworkSpaceCnn->m_nWorkspaceType = 9;
UGbool bSucc = pView->m_pWorkSpace->Open(*pworkSpaceCnn);
打卡成功,但是pView->m_pWorkSpace->m_WorkspaceConnection的成员却都是不正常的值,导致取pWorkspeace->m_WorkspaceConnection.m_strServer时崩溃。
这是同一份代码,在vs2013中却很正常