Originally Posted by
Elysia
No, you're not doing it quite right. You should use multi-byte if not unicode typically, but the real thing is that TCHAR is defined to either CHAR or wchar_t depending on whether you use unicode or not.
So therefore, if you use TCHAR, you should also use the _T macro. It's good practice to use TCHAR since it will not harm your project in any way and allow you to switch between multi-byte/unicode as you want without any code changes. And using _T on all string liters takes getting used to...
IF you don't want unicode at all, or just want unicode, then you should remove all TCHAR and replace with CHAR or wchar_t as appropriate.