hi everybody:

I'm reading Programming Windows

Always see this : static TCHAR szAppName[]=TEXT("KeyView");

I'm puzzled why "TCHAR" and Why "TEXT" and why not use standard c/c++ ?
in MSDN it says " The TCHAR data type is a Win32 character string that can be used to describe ANSI, DBCS, or Unicode strings. For ANSI and DBCS platforms, TCHAR is defined as follows:
typedef char TCHAR;
For Unicode platforms, TCHAR is defined as synonymous with the WCHAR type.
"

can anyone tell me the function of "TEXT" and "TCHAR"?

The most important ..Are you use that in your progamme?

Thank you a lot