home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 November / CDVD1105.ISO / Software / Freeware / programare / graphics32 / Examples / Vcl / RenderText_Ex / RenderText_Ex.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  2004-07-05  |  730 b   |  23 lines

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