Change Wchar To Char

In order to be compatible with char .
use WideCharToMultiByte
change tchar to char.