When I was making unicode project using Visual Studio 2008, I ran into the error that I indicated above on the title for using _tWinMain. wWinMain worked well, but the entry point was __tmainCRTStartup when I used _tWinMain. I tried so hard to figure why the error is occurring and finally I decided to just add the header file ’tchar.h’ and it worked. So now I know that I need to include the header file ‘tchar.h’ when I am using unicode.
Posted by anrocud