//--------------------------------------------------------------------------- #include #ifdef _WIN32 #include #endif #pragma hdrstop #include //--------------------------------------------------------------------------- USEFORM("PDF_main.cpp", Form1); //--------------------------------------------------------------------------- extern "C" int FMXmain() { try { Application->Initialize(); Application->CreateForm(__classid(TForm1), &Form1); Application->Run(); } catch (Exception &exception) { Application->ShowException(&exception); } catch (...) { try { throw Exception(""); } catch (Exception &exception) { Application->ShowException(&exception); } } return 0; } //---------------------------------------------------------------------------