home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1997 May / Pcwk0597.iso / borland / cb / setup / cbuilder / data.z / MDIAPP.CPP < prev    next >
C/C++ Source or Header  |  1997-02-28  |  606b  |  18 lines

  1. //---------------------------------------------------------------------
  2. #include <vcl.h>
  3. #pragma hdrstop
  4. //---------------------------------------------------------------------
  5. USEFORM("Main.cpp", MainForm);
  6. USEFORM("ChildWin.cpp", MDIChild);
  7. USERES("mdiapp.res");
  8. //----------------------------------------------------------------------------
  9. WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
  10. {
  11.     Application->Initialize();
  12.     Application->CreateForm(__classid(TMainForm), &MainForm);
  13.     Application->Run();
  14.  
  15.     return 0;
  16. }
  17. //---------------------------------------------------------------------
  18.