home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1997 May / VPR9705A.ISO / VPR_DATA / PROGRAM / CBTRIAL / SETUP / DATA.Z / SWAT.CPP < prev    next >
C/C++ Source or Header  |  1997-02-14  |  1KB  |  26 lines

  1. //----------------------------------------------------------------------------
  2. //Borland C++Builder
  3. //Copyright (c) 1987, 1997 Borland International Inc. All Rights Reserved.
  4. //----------------------------------------------------------------------------
  5. //---------------------------------------------------------------------------
  6. #include <vcl.h>
  7. #pragma hdrstop
  8. //---------------------------------------------------------------------------
  9. USEFORM("swatmain.cpp", SwatForm);
  10. USEFORM("about.cpp", AboutBox);
  11. USEFORM("options.cpp", OptionsDlg);
  12. USERES("swat.res");
  13. //---------------------------------------------------------------------
  14. WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
  15. {
  16.     Application->Initialize();
  17.     Application->Title = "Swat!";
  18.     Application->CreateForm(__classid(TSwatForm), &SwatForm);
  19.     Application->CreateForm(__classid(TAboutBox), &AboutBox);
  20.     Application->CreateForm(__classid(TOptionsDlg), &OptionsDlg);
  21.     Application->Run();
  22.  
  23.     return 0;
  24. }
  25. //---------------------------------------------------------------------------
  26.