The Xceed Component Installer will copy all the necessary files into the library's installation folder (usually in \Program Files\Xceed Components\Bin\ActiveX) and register the XCEEDZIP.DLL ActiveX / COM component. The only thing left to do is to make the control available to your VC++ 6.0 projects. To do this, perform the following steps:
Start Microsoft Visual C++ 6.0
Open your MFC AppWizard application project, or create a new one by selecting the New... menu item from the File menu, then selecting the Projects tab and choosing the MFC AppWizard item. Follow the Wizards instructions to create the project. Be sure that you select the ActiveX Controls option for the question "What other support would you like to include?"
Select the Project menu
Select the Add to project submenu, then select Components and Controls...
In the Components and Controls Gallery dialog, look in the Registered ActiveX Controls folder for the "Xceed Zip Control 6.x" or the "Xceed Compression control" entry, then select it and click on the Insert button.
Select the OK in response to the "Insert this component?" message box. The Confirm Classes dialog should appear.
Click OK to close the Confirm Classes dialog.
Click the Close button to close the Components and Controls Gallery dialog.
The XCEEDZIP.CPP andXCEEDZIP.H files should now be part of your project. You will now be able to instantiate the Xceed Zip object in your project, and see the Xceed Zip icon available in your Controls toolbar when designing dialog boxes.
Open the ClassWizard.
Click the "Add Class" button and select the "From a type library" option.
Find and select the "XceedZip.dll" file. Even if your Visual C++ does not display files ending by "DLL", you can select "All files (*.*)" as the type of files, and then select the "XceedZip.dll" file.
Select the "IXceedZip" and "IXceedCompression" interfaces. We also suggest you select the "_IXceedZipEvents" interface, to help you create your event sink. You'll be able to copy and paste event declarations from the generated wrapper. All this will generate two files: "xceedzip.cpp" and "xceedzip.h"
At the place you want to create your instance of XceedZip or XceedCompression, include the "xceedzip.h " file and create a variable of type "IXceedZip" or "IXceedCompression", and call the "CreateDispatch" method on this variable to actually create the instance behind the wrapper object.
After that, you may want to connect your event sink to this instance. You can read MSDN Article ID Q183599, or take a look at the Formless MFC sample in this package.
Finally, when you are finished with your instance, make sure to call the "ReleaseDispatch" method on it.
The License method must be called to license the library for runtime use. This applies to both registered users as well as users of a time-limited free trial license.