pcGraph.cpp 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //---------------------------------------------------------------------------
  2. #include <vcl.h>
  3. #pragma hdrstop
  4. #include <tchar.h>
  5. //---------------------------------------------------------------------------
  6. USEFORM("fcGraph.cpp", FormGraph);
  7. USEFORM("fxy\fFxyC.cpp", FormPlot);
  8. USEFORM("heightfield\fHeightfieldC.cpp", Form1);
  9. USEFORM("points\fPointsC.cpp", FormPoints);
  10. USEFORM("projection\fProjectionC.cpp", FormProjection);
  11. USEFORM("splines\fSplinesC.cpp", FormSplines);
  12. //---------------------------------------------------------------------------
  13. int WINAPI _tWinMain(HINSTANCE, HINSTANCE, LPTSTR, int)
  14. {
  15. try
  16. {
  17. Application->Initialize();
  18. Application->MainFormOnTaskBar = true;
  19. Application->CreateForm(__classid(TFormGraph), &FormGraph);
  20. Application->Run();
  21. }
  22. catch (Exception &exception)
  23. {
  24. Application->ShowException(&exception);
  25. }
  26. catch (...)
  27. {
  28. try
  29. {
  30. throw Exception("");
  31. }
  32. catch (Exception &exception)
  33. {
  34. Application->ShowException(&exception);
  35. }
  36. }
  37. return 0;
  38. }
  39. //---------------------------------------------------------------------------