#include int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { MessageBox(NULL, lpCmdLine, "lpCmdLine", MB_OK); MessageBox(NULL, GetCommandLine(), "GetCommandLine", MB_OK); return 0; }