All pastes #420256 Raw Edit

Mine

public cpp v1 · immutable
·published 2007-04-02 00:20 UTC
rendered paste body
int WINAPI WinMain (HINSTANCE hInst, HINSTANCE hPrevInst, char * cmdParam, int cmdShow){	MainWindow ^mw = gcnew MainWindow();	mw->Show();	MSG  msg;	int status;	while ((status = ::GetMessage (& msg, 0, 0, 0)) != 0){		if (status == -1){			delete mw;			return -1;		}		::DispatchMessage (& msg);	}	return msg.wParam;}