rudyloo
June 13th, 2008, 12:46 PM
Hi,
I need to create a list or array of CStrings within a function that will stay in memory next time I come into the function.
I tried:
CString groupFound = "tempGroup"
const CList <CString, CString> myGroups;
myGroups.Addtail ( groupFound );
I get the following error:
error C2663: 'AddTail' : 2 overloads have no legal conversion for 'this' pointer
Any ideas?
thanks
I need to create a list or array of CStrings within a function that will stay in memory next time I come into the function.
I tried:
CString groupFound = "tempGroup"
const CList <CString, CString> myGroups;
myGroups.Addtail ( groupFound );
I get the following error:
error C2663: 'AddTail' : 2 overloads have no legal conversion for 'this' pointer
Any ideas?
thanks