CMap with CString as Key
-
CMap < CString,CString,Info, Info >m_Map2; I am not able execute the above statement. Info is a user defined structure. The Error is "error C2440: 'type cast' : cannot convert from 'class CString' to 'unsigned long' No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called" Please specify how i can create CMap with CStringas a key.
-
CMap < CString,CString,Info, Info >m_Map2; I am not able execute the above statement. Info is a user defined structure. The Error is "error C2440: 'type cast' : cannot convert from 'class CString' to 'unsigned long' No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called" Please specify how i can create CMap with CStringas a key.