LineStippling.cpp 821 B

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