| 12345678910111213141516171819202122232425262728293031323334353637 |
- //---------------------------------------------------------------------------
- #include <fmx.h>
- #ifdef _WIN32
- #include <tchar.h>
- #endif
- #pragma hdrstop
- #include <System.StartUpCopy.hpp>
- //---------------------------------------------------------------------------
- USEFORM("fcCube.cpp", FormCube);
- //---------------------------------------------------------------------------
- extern "C" int FMXmain()
- {
- try
- {
- Application->Initialize();
- Application->CreateForm(__classid(TFormCube), &FormCube);
- Application->Run();
- }
- catch (Exception &exception)
- {
- Application->ShowException(&exception);
- }
- catch (...)
- {
- try
- {
- throw Exception("");
- }
- catch (Exception &exception)
- {
- Application->ShowException(&exception);
- }
- }
- return 0;
- }
- //---------------------------------------------------------------------------
|