home *** CD-ROM | disk | FTP | other *** search
/ Supercompiler 1997 / SUPERCOMPILER97.iso / BC++ Builder / DATA.Z / FTP.CPP < prev    next >
Encoding:
C/C++ Source or Header  |  1997-02-10  |  1.0 KB  |  31 lines

  1. //----------------------------------------------------------------------------
  2. //Borland C++ Builder
  3. //Copyright (c) 1987 Borland International Inc. All Rights Reserved.
  4. //----------------------------------------------------------------------------
  5. //----------------------------------------------------------------------------
  6. #include <vcl\vcl.h>
  7. #pragma hdrstop
  8. //---------------------------------------------------------------------------
  9. USEFORM("main.cpp", MainForm);
  10. USERES("FTP.res");
  11. USEFORM("usrinfo.cpp", ConnectForm);
  12. //---------------------------------------------------------------------------
  13. WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
  14. {
  15.     try
  16.     {
  17.         Application->Initialize();
  18.         Application->CreateForm(__classid(TMainForm), &MainForm);
  19.         Application->CreateForm(__classid(TConnectForm), &ConnectForm);
  20.         Application->Run();
  21.     }
  22.     catch (Exception &exception)
  23.     {
  24.         Application->ShowException(&exception);
  25.     }
  26.     return 0;
  27. }
  28. //---------------------------------------------------------------------------
  29.  
  30.  
  31.