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

  1. //---------------------------------------------------------------------------
  2. // Borland C++Builder
  3. // Copyright (c) 1987, 1998 Borland International Inc.  All Rights Reserved.
  4. //---------------------------------------------------------------------------
  5. //---------------------------------------------------------------------------
  6. #include <vcl.h>
  7. #pragma hdrstop
  8. //---------------------------------------------------------------------------
  9. USEFORM("std1.cpp", Form1);
  10. USERES("STDmain.res");
  11. USEUNIT("stl_ex.cpp");
  12. //---------------------------------------------------------------------------
  13. WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
  14. {
  15.     try
  16.     {
  17.         Application->Initialize();
  18.         Application->CreateForm(__classid(TForm1), &Form1);
  19.         Application->Run();
  20.     }
  21.     catch (Exception &exception)
  22.     {
  23.         Application->ShowException(&exception);
  24.     }
  25.     return 0;
  26. }
  27. //---------------------------------------------------------------------------
  28.