Hello everyone,


I am using Visual Studio 2003 and Windows Console project, I find when using L macro to convert character to wide character, the compiler will report an error that L macro is not defined.

I find it is not defined in either <windows.h> or <TCHAR.h> -- when adding the two header files, the compile error is the same.

Could anyone explain how to use L macro in Visual Studio 2003 and Windows Console project? Which header file is needed?


thanks in advance,
George