Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

'_T' was not declared in this scope?

What file should I include to have the _T() macro? it converts text literals I think. I thought it is windows.h, but I have it included already.

Surprisingly, I could not find the answer on Google.

like image 568
Jani Kovacs Avatar asked Feb 12 '13 18:02

Jani Kovacs


1 Answers

I found information you asked for in the MSDN under topic Unicode Programming Summary .

The answer is Tchar.h.

like image 182
Spook Avatar answered Sep 29 '22 20:09

Spook