home *** CD-ROM | disk | FTP | other *** search
/ Chip 1999 March / Chip_1999-03_cd.bin / zkuste / delphi / D / MATEM.ARJ / RCHART.ZIP / exmpl-2 / cpp3 / rchmovel.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1997-05-22  |  789 b   |  25 lines

  1. //---------------------------------------------------------------------------
  2. #include <vcl\vcl.h>
  3. #pragma hdrstop
  4. //---------------------------------------------------------------------------
  5. USEFORM("rchmov1.cpp", Form1);
  6. USERES("rchmovel.res");
  7. USEFORM("logwarn.cpp", LogWarnForm);
  8. //---------------------------------------------------------------------------
  9. WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
  10. {
  11.     try
  12.     {
  13.         Application->Initialize();
  14.         Application->CreateForm(__classid(TForm1), &Form1);
  15.         Application->CreateForm(__classid(TLogWarnForm), &LogWarnForm);
  16.         Application->Run();
  17.     }
  18.     catch (Exception &exception)
  19.     {
  20.         Application->ShowException(&exception);
  21.     }
  22.     return 0;
  23. }
  24. //---------------------------------------------------------------------------
  25.