Compares the string str1 to the string str2.
str1
str2
int strcmpBuffer(CString str1, CString str2) { int i = 0; while (str1[i] != 0 && str1[i] == str2[i]) { i++; } return str1[i] - str2[i]; }