home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 September / Chip_2002-09_cd1.bin / zkuste / vbasic / Data / Utils / XZipComp.exe / XceedZip.Cab / F112509_MemoryCompression.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1999-11-17  |  823 b   |  27 lines

  1. /*----------------------------------------------------------------------------*/
  2. /* Memory Compression sample using The Xceed Zip Compression Library 4        */
  3. /* For C++Builder 3                                                           */
  4. /* Copyright (c) 1999 Xceed Software Inc.                                     */
  5. /*----------------------------------------------------------------------------*/
  6.  
  7. #include <vcl.h>
  8. #pragma hdrstop
  9. USERES("MemoryCompression.res");
  10. USEFORM("MsgStack.cpp", frmMsgStack);
  11.  
  12.  
  13. WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
  14. {
  15.   try
  16.   {
  17.     Application->Initialize();
  18.     Application->CreateForm(__classid(TfrmMsgStack), &frmMsgStack);
  19.     Application->Run();
  20.   }
  21.   catch (Exception &exception)
  22.   {
  23.     Application->ShowException(&exception);
  24.   }
  25.   return 0;
  26. }
  27.