Back in the late 1990s Microsoft had two operating system lines, the ANSI-based Windows 9X and the Unicode-based Windows NT. In order to make it easy for programmers to write the same code for both OS lines, Microsoft hid the differences behind a series of macros that switch back and forth between ANSI characters and Unicode characters depending on compiler options, and
TCHAR
is one of those macros. Windows NT all but wiped out Windows 9X in the early 2000s with Windows XP, and probably every windows computer you've used in the last 15 years uses Unicode. —
user4581301 23 secs ago