Reputation: 79645
I'm creating a Win32 project, and I'm trying to use TCHAR
everywhere. But since it's a non-MFC project, I don't have _T
defined.
How do I get it in my project?
Upvotes: 1
Views: 2978
Reputation: 79645
OK, found out how to do it. I just need to add
#include <tchar.h>
to stdafx.h
, and it doesn't carry any MFC dependencies. It's just not included by default in non-MFC projects.
Upvotes: 6