CMyDataListList listMyData;
CMyDataList *pList = new CMyDataList;
pList->AddTail( new CMyData );
listMyData.AddTail( pList );
I get the error
Error 1 error C2440: 'return' : cannot convert from 'void' to 'POSITION' c:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxtempl.h 1961
I can not see what is wrong, can nayone else? I can do the same with maps in maps or a list in an CTpedArray and all is OK.
Bookmarks