include "stdafx.h"int _tmain(int argc, _TCHAR* argv[]){ int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { MessageBox(NULL, _T("Простейшая программа!"),_T("WinAPI App"), 0); //сообщение return 0; }}