cstring implementation extracted from mfc