Before changingtchar -> tstring