modify strLen to length() in CCConsole.cpp.