home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 May / Chip_2002-05_cd1.bin / chplus / cpp / 3 / Print.exe / printing.cpp < prev    next >
C/C++ Source or Header  |  1998-02-09  |  990b  |  29 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. USEFILE("readme.txt");
  10. USEFORM("mainform.cpp", Form1);
  11. USERES("printing.res");
  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.  
  26.     return 0;
  27. }
  28. //---------------------------------------------------------------------------
  29.