What are the difference from these 2 function?:
int APIENTRY _tWinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
From this link:
_tWinMain actually does take the hPrevInstance parameter, but that parameter isn''t used.
_tWinMain is just a #define to WinMain (in TCHAR.h).
There is no difference between the two.
and
_tWinMain is defined to WinMain if UNICODE is not defined, and to wWinMain if it is. its purpose is to let you write code that will build both under ansi and under unicode.