Need to include strsafe.h after tchar.h Error

Reverse the order of inclusion? The error states that you should(*) include strsafe.h after tchar.h. – Joachim Pileborg May 31 '13 at 8:25

(*) == must

Move the #include for tchar.h up in the list of includes. And do consider not including it at all, these tchar practices date from the previous century. There is no version of Windows left that still needs it. The floppy disk drive on the last machine that still boots a non-Unicode version of Windows died last week, problem solved. – Hans Passant May 31 '13 at 12:50