What is the simplest way to convert char[] to/from tchar[] in C/C++(ms)?

The simplest way is to use the conversion macros:

  • CW2A
  • CA2W
  • etc…

MSDN

Leave a Comment