What is the difference between standard, int main(int nargs,....); and
int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nShowCmd );
I am making a cross-platform program, for windows and linux, and until this point, I used main, without WinMain, for windows and linux. My app calls windows and Linux-specific functions but I still use normal main(). Do I need WinMain() if I want to make windows GUI instead of command prompt? Sorry, I am not an expert in Windows programming.