LicenseManager.cpp.~2~ 971 B

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