Problems with CArray
-
Hi, i believe that i have a problem to create a instance of the following object. Declaration : CArray m_arEndPointGroups; Add Pointer : CEndPointGroup* _pEndPointGroup = NULL; _pEndPointGroup = new CEndPointGroup(_groupname); m_arEndPointGroups.Add(_pEndPointGroup); At the last line i get an error. It seems that the arEndPointGroups-object is wrong allocated. What do i wrong ? Marco
-
Hi, i believe that i have a problem to create a instance of the following object. Declaration : CArray m_arEndPointGroups; Add Pointer : CEndPointGroup* _pEndPointGroup = NULL; _pEndPointGroup = new CEndPointGroup(_groupname); m_arEndPointGroups.Add(_pEndPointGroup); At the last line i get an error. It seems that the arEndPointGroups-object is wrong allocated. What do i wrong ? Marco
-
Maybe error in declaration of m_arEndPointsGroup? CArray is class template try CArray m_arEndPointsGroup nobody is perfect