login about faq

Any link or steps to install SFTP product into Delphi XE2?

asked Nov 09 '12 at 10:51

chilkat's gravatar image

chilkat ♦♦

There are two ways in which to use the Chilkat API's in Delphi:

1) You may use an ActiveX DLL.
The reference documentation is located here: http://www.chilkatsoft.com/refdoc/delphi.asp
Examples are located here: http://www.example-code.com/delphi/default.asp

2) You may use the functional DLL (i.e. not an ActiveX, but a functional API with exported DLL functions).
The reference documentation is located here: http://www.chilkatsoft.com/refdoc/dd.asp
Examples are located here: http://www.example-code.com/delphiDll/default.asp

The term "functional DLL" doesn't mean that other DLL's are non-functional, or dis-functional. ;)
What it means is that it's a function-based API (not object-oriented) similar to how the "C" language API works. Chilkat by nature is object oriented. Using Chilkat in "C", or in a non object oriented fashion, works like this:

(in pseudo-code)
handle = create_new_object_function();
returnVal = function_call_on_object(handle, arg1, arg2, ...);

To finally answer the question:

If using the functional DLL, there is no real "install". You list the interfaces to be used in the "uses" section of your program, and you add the Chilkat provided ".pas" source file to your project. See http://www.chilkatsoft.com/delphiDll.asp

If using the ActiveX, then you import the ActiveX into Delphi just like you would for any other ActiveX. In the Delphi XE2 menu, select "Component" --> "Import Component". Then choose "Import ActiveX Control". The next dialog box shows the list of registered ActiveX components on the system. Choose the one to be imported. (The Chilkat ones all begin with the name "Chilkat") On the next dialog select the defaults so that Delphi generates the component wrappers. On the next dialog keep the default and click "Finish".


answered Nov 09 '12 at 11:09

chilkat's gravatar image

chilkat ♦♦

edited Nov 09 '12 at 11:12

One note: The Chilkat functional DLL for Delphi is such that all Chilkat products (SSH, SFTP, FTP2, Email, IMAP, HTTP, etc.) are contained in the single DLL. However, there are many ActiveX DLL's, each of which contains certain objects. See this Chilkat blog post for a mapping of objects to DLL's: http://www.cknotes.com/?p=172

(Nov 09 '12 at 11:13) chilkat ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Nov 09 '12 at 10:51

Seen: 2,285 times

Last updated: Nov 09 '12 at 11:13

powered by OSQA