home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 May / Chip_2002-05_cd1.bin / chplus / cpp / 3 / Tools.exe / wintools.cpp < prev    next >
C/C++ Source or Header  |  1998-02-09  |  827b  |  24 lines

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