//--------------------------------------------------------------------------- #include #pragma hdrstop USEFORM("ChildForm.cpp", frmChild); USEFORM("MainForm.cpp", Form1); USEFORM("ToolWin.cpp", frmTools); //--------------------------------------------------------------------------- WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int) { try { Application->Initialize(); Application->Title = "Hyperbolic Tessellations"; Application->CreateForm(__classid(TForm1), &Form1); Application->CreateForm(__classid(TfrmTools), &frmTools); Application->Run(); } catch (Exception &exception) { Application->ShowException(&exception); } return 0; } //---------------------------------------------------------------------------