ITS_OP_CFG.cpp 976 B

123456789101112131415161718192021222324252627282930313233343536
  1. //---------------------------------------------------------------------------
  2. #include <vcl.h>
  3. #pragma hdrstop
  4. #include <tchar.h>
  5. //---------------------------------------------------------------------------
  6. USEFORM("CFG0000MF.cpp", CFG0000M);
  7. //---------------------------------------------------------------------------
  8. WINAPI _tWinMain(HINSTANCE, HINSTANCE, LPTSTR, int)
  9. {
  10. try
  11. {
  12. Application->Initialize();
  13. Application->MainFormOnTaskBar = true;
  14. Application->CreateForm(__classid(TCFG0000M), &CFG0000M);
  15. Application->Run();
  16. }
  17. catch (Exception &exception)
  18. {
  19. Application->ShowException(&exception);
  20. }
  21. catch (...)
  22. {
  23. try
  24. {
  25. throw Exception("");
  26. }
  27. catch (Exception &exception)
  28. {
  29. Application->ShowException(&exception);
  30. }
  31. }
  32. return 0;
  33. }
  34. //---------------------------------------------------------------------------