If you have defined UNICODE, then it expands into L"mystring", the unicode version. If not, then it is simply "mystring", the ANSI version. It is basically a way of avoiding littering source files with #ifdefs every time you want to use a string literal.
It turns "mystring" into a unicode. I think the macro expands into _T( string ) = L ## string = L ## "mystring" = L"mystring"
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement