home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 May / Chip_2002-05_cd1.bin / chplus / cpp / 3 / RichEdit.exe / richedit.cpp < prev    next >
C/C++ Source or Header  |  1998-02-09  |  1KB  |  30 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("Richabt.cpp", Form2);
  11. USEFORM("Romain.cpp", MainForm);
  12. USERC("RichRes.RC");
  13. //---------------------------------------------------------------------------
  14. WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
  15. {
  16.     try
  17.     {
  18.     Application->Initialize();
  19.     Application->CreateForm(__classid(TMainForm), &MainForm);
  20.                  Application->Run();
  21.    }
  22.    catch (Exception &exception)
  23.    {
  24.       Application->ShowException(&exception);
  25.    }
  26.  
  27.    return 0;
  28. }
  29. //---------------------------------------------------------------------
  30.