home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1997 May / Pcwk0597.iso / borland / cb / setup / cbuilder / data.z / GDSDEMO.CPP < prev    next >
C/C++ Source or Header  |  1997-02-28  |  1KB  |  28 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("Gdsstd.cpp", GDSStdForm);
  10. USEFORM("GdsData.cpp", StdDataForm);
  11. USEFORM("GridForm.cpp", GridViewForm);
  12. USEFORM("RecForm.cpp", RecViewForm);
  13. USERES("gdsdemo.res");
  14. //---------------------------------------------------------------------
  15. #pragma resource "*.res"
  16. #pragma link "forms.obj"
  17. //---------------------------------------------------------------------------
  18. WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
  19. {
  20.     Application->Initialize();
  21.     Application->CreateForm(__classid(TGridViewForm), &GridViewForm);
  22.     Application->CreateForm(__classid(TRecViewForm), &RecViewForm);
  23.     Application->Run();
  24.  
  25.     return 0;
  26. }
  27. //---------------------------------------------------------------------------
  28.