CString made AppendToBuffer public, CDictionary added GetByIndex

GetByIndex can be used for loops, AppendToBuffer to append a char* to
the existing buffer, because + looks confusing in some occasions.