Replaced TCHAR * with char * in the platform module, relevant typecasting can be done statically