The Xceed Component Installer will copy all the necessary files into the library's installation folder (usually in \Program Files\Xceed Components\Xceed FTP Library [version]) and register the XCEEDFTP.DLL ActiveX / COM component in the BIN subfolder. The only thing left to do is to create a wrapper class for your MFC projects (assuming you're working with MFC) and make the control available to your VC++ 4.0 projects. To do this, perform the following steps:
Start Visual C++ 4.0 (developer studio)
Open your MFC AppWizard application project, or create a new one by selecting the New... menu item from the File menu, and choosing the Project Workspace option. Select MFC AppWizard and follow the Wizards instructions to create the project. Be sure that you select the OLE Controls option for the question What OLE support would you like to include?
Select the Component... menu item from the Insert menu.
Select the OLE Controls tab in the Component Gallery dialog.
The XceedFtp and XceedQuickFtp control icons should appear in the list of controls displayed in the OLE Controls tab in the Component Gallery dialog.
Select the XceedFtp or XceedQuickFtp control icon, then click the Insert button in the Component Gallery dialog to insert the control in your project. The Confirm Classes dialog should appear.
Click OK to close the Confirm Classes dialog.
Click the Close button to close the Component Gallery dialog.
The XCEEDFTP.CPP andXCEEDFTP.H files, or the XCEEDQUICKFTP.CPP andXCEEDQUICKFTP.H files should now be part of your project. You will now be able to instantiate the XceedFtp or XceedQuickFtp object in your project, and see the XceedFtp or XceedQuickFtp icon available in your Controls toolbar when designing dialog boxes.
Open the ClassWizard.
Click the "Add Class" button and select the "From an OLE typelib" option.
Find and select the "XCEEDFTP.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 "XCEEDFTP.DLL" file.
Select the "IXceedFtp" and "IXceedCompression" interfaces. We also suggest you select the "DXceedFtpEvents" 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: "XCEEDFTP.CPP" and "XCEEDFTP.H"
At the place you want to create your instance of XceedFtp or XceedQuickFtp, include the "XCEEDFTP.H " file and create a variable of type "IXceedFtp" or "IXceedQuickFtp", 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.
Finally, when you are finished with your instance, make sure to call the "ReleaseDispatch" method on it.
Try reinstalling the Xceed FTP Library from its setup program. Continue only if that didn't help.Select the Customize... button.
Select the OLE Controls category in the Customize Component Gallery dialog.
Select the Import... button in the Customize Component Gallery dialog.
Find and select the XCEEDFTP.DLL file (preferably the one in the Windows System folder that was copied there by the Xceed FTP Library setup program), then click on the OK button.
Click the OK button in the Customize Component Gallery dialog.
The XceedFtp or XceedQuickFtp control icon should now appear in the list of controls.
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.