Debian Codegraph @

examples/delphi/cpp_builder/fmx/CastleCppFmx.cpp

raw symbols SCIP
1 //---------------------------------------------------------------------------
2
3 #include <fmx.h>
4 #ifdef _WIN32
5 #include <tchar.h>
6 #endif
7 #pragma hdrstop
8 #include <System.StartUpCopy.hpp>
9 //---------------------------------------------------------------------------
10 USEFORM("Unit1.cpp", Form1);
11 //---------------------------------------------------------------------------
12 extern "C" int FMXmain()
13 {
14 try
15 {
16 Application->Initialize();
17 Application->CreateForm(__classid(TForm1), &Form1);
18 Application->Run();
19 }
20 catch (Exception &exception)
21 {
22 Application->ShowException(&exception);
23 }
24 catch (...)
25 {
26 try
27 {
28 throw Exception("");
29 }
30 catch (Exception &exception)
31 {
32 Application->ShowException(&exception);
33 }
34 }
35 return 0;
36 }
37 //---------------------------------------------------------------------------