In the file tchar.h, there is: #ifdef UNICODE ...some code #elif ... #endif
I have done #undef UNICODE just before this snippet and the program compiled successfully. I guess this is okay for me, since I do not need UNICODE support in my project.
<<attachment: winmail.dat>>
