home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 March / Chip_2002-03_cd1.bin / zkuste / delphi / kompon / d5 / cak / CAKINST.ZIP / cmarc139.lzh / DEMOCB.LZH / DEMOCB3.CPP < prev    next >
Encoding:
C/C++ Source or Header  |  2000-07-23  |  806 b   |  26 lines

  1. //---------------------------------------------------------------------------
  2. #include <vcl.h>
  3. #pragma hdrstop
  4. USERES("DEMOCB3.res");
  5. USEFORM("DEMOCBF.cpp", frmDemoCB);
  6. USEFORMNS("LHPRGDLG.pas", Lhprgdlg, dlgArchiverProgress);
  7. USEUNIT("ARCSTUBS.CPP");
  8. USEUNIT("LHPRSTUB.CPP");
  9. //---------------------------------------------------------------------------
  10. WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
  11. {
  12.     try
  13.     {
  14.         Application->Initialize();
  15.         Application->CreateForm(__classid(TfrmDemoCB), &frmDemoCB);
  16.         Application->CreateForm(__classid(TdlgArchiverProgress), &dlgArchiverProgress);
  17.         Application->Run();
  18.     }
  19.     catch (Exception &exception)
  20.     {
  21.         Application->ShowException(&exception);
  22.     }
  23.     return 0;
  24. }
  25. //---------------------------------------------------------------------------
  26.