support for WIN32 UNICODE, other ver shold be testted