Fixed bad char* to TCHAR* conversion