BenchC.cpp 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //---------------------------------------------------------------------------
  2. #include <vcl.h>
  3. #pragma hdrstop
  4. #include <tchar.h>
  5. //---------------------------------------------------------------------------
  6. USEFORM("megaglasscube\fMegaglassC.cpp", FormMegaglasscube);
  7. USEFORM("smoking\fSmokingC.cpp", FormSmoking);
  8. USEFORM("volcano\fVolcanoC.cpp", FormVolcano);
  9. USEFORM("whirlwind\fWhirlC.cpp", FormWhirl);
  10. USEFORM("canvas\fCanvasC.cpp", FormCanvas);
  11. USEFORM("fBenchC.cpp", frmBench);
  12. USEFORM("megacube\fMegaCubeC.cpp", FormMegacube);
  13. //---------------------------------------------------------------------------
  14. int WINAPI _tWinMain(HINSTANCE, HINSTANCE, LPTSTR, int)
  15. {
  16. try
  17. {
  18. Application->Initialize();
  19. Application->MainFormOnTaskBar = true;
  20. Application->CreateForm(__classid(TfrmBench), &frmBench);
  21. Application->Run();
  22. }
  23. catch (Exception &exception)
  24. {
  25. Application->ShowException(&exception);
  26. }
  27. catch (...)
  28. {
  29. try
  30. {
  31. throw Exception("");
  32. }
  33. catch (Exception &exception)
  34. {
  35. Application->ShowException(&exception);
  36. }
  37. }
  38. return 0;
  39. }
  40. //---------------------------------------------------------------------------