ObjmoveC.cpp 872 B

1234567891011121314151617181920212223242526272829303132333435
  1. //---------------------------------------------------------------------------
  2. // Based on
  3. #include <vcl.h>
  4. #pragma hdrstop
  5. #include <tchar.h>
  6. //---------------------------------------------------------------------------
  7. USEFORM("fObjmoveC.cpp", FormObjmove);
  8. //---------------------------------------------------------------------------
  9. int WINAPI _tWinMain(HINSTANCE, HINSTANCE, LPTSTR, int)
  10. {
  11. try
  12. {
  13. Application->Initialize();
  14. Application->MainFormOnTaskBar = true;
  15. Application->CreateForm(__classid(TFormObjmove), &FormObjmove);
  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. //---------------------------------------------------------------------------