WinMain与main
WinMain的原型:
int CALLBACK WinMain(
__in HINSTANCE hInstance,
__in HINSTANCE hPrevInstance,
__in LPSTR lpCmdLine,
__in int nCmdShow
);
WinMain的定义:
WinMain is the conventional name used for the application entry point for a graphical Windows-based application.
#include <Windows.h>
int WinMain(HINSTANCE hInstance, HINSTANCE hPrev, LPSTR cmdline, int iCmdShow)
{
MessageBox(nullptr, cmdline, &#