Using TCHAR.H Data Types with _MBCS Code

HomeUnicode TasksMultibyte Character Set (MBCS) Tasks

When the manifest constant _MBCS is defined, a given generic-text routine maps to one of the following kinds of routines:

Following are three solutions for preventing this type conflict (and the C compiler warnings or C++ compiler errors that would result).