home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Info / TeachU14 / SAMS / Code / Day08 / combotst.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-08  |  718 b   |  22 lines

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