Change Wchar To Char

In order to be compatible with char .
use WideCharToMultiByte
change tchar to char.
Merge pull request #36 from ALEXLCC/master

Use WideCharToMultiByte ,replace for()
Merge pull request #37 from Fance/master

Improve the code
Merge pull request #4 from temcocontrols/master

Get temco