// Objekty.cpp : Defines the entry point for the application. // #include "stdafx.h" #include "Objekty.h" #include "Main_program.h" int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow) { int nRet = -1; if (!theMainWnd.InitInstance(hInstance)) ::MessageBox(NULL, "CHYBA", NULL, MB_OK | MB_ICONSTOP); else { nRet = theMainWnd.Run(); theMainWnd.ExitInstance(); } return nRet; }