VmsCamTest.cpp 1019 B

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