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

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