Chilkat Delphi DLL API

for Embarcadero® RAD Studio
* also works with Delphi 7, 8, 2005 - 2010


v9.5.0.89 29-Nov-2021sha256: fcdccec0b139281fa02951118f815e73f40be50a202e21d1c23ed69581f994ad
Chilkat Delphi DLL

v9.5.0.89 29-Nov-2021sha256: 97cb341ff4cf0460b867ed05b241559450cafbd5b06ed8a6fd70c5b0b0e3991c
Chilkat Delphi DLL with Dynamic Loader

Reference Documentation

Chilkat Delphi DLL Reference Documentation

Chilkat Delphi Sample Code

Chilkat Delphi DLL Sample Code

Quick Start Instructions

  1. Download and unzip to any directory. Unzipping will create a chilkat-9.5.0-delphi subdirectory containing the following files:
    README.txt              A text file pointing to this document and other sources of information.
    ChilkatDelphi32.dll     The Chilkat 32-bit DLL providing the implementation for all Chilkat objects.
                            This DLL is not an ActiveX.  It does not need to be registered via regsvr32.
    ChilkatDelphi64.dll     The Chilkat 64-bit DLL providing the implementation for all Chilkat objects.
    LICENSE.txt             The full EULA license agreement.
    *.pas                   A Pascal interface source file for each Chilkat object.
  2. The Delphi DLL w/ Dynamic Loader download contains an alternative set of *.pas source files that load the Chilkat DLL dynamically at runtime (rather than having static linkage to the DLL). See the ckDllLoader.pas file for details.
  3. Start the Delphi RAD Studio IDE and create a new VCL Forms Application. Save it to the chilkat-9.5.0-delphi directory where the ChilkatDelphi32.dll and Chilkat *.pas files are located.
  4. Add a TButton and TMemo to the form.
  5. Add each of the Chilkat interfaces that will be used to the "uses" section. For example, if the project will use only Crypt2.pas and Global.pas, add "Crypt2" and "Global" to the "uses" section:
      Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
      Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Crypt2, Global;
  6. Select Project --> Add to Project and then add each of the Chilkat .pas sources listed in the "uses" section to your project. In this case, add "Crypt2.pas" and "Global.pas" to the project.
  7. Double-click on the Button1 on your form to add code to handle the click event. For example, to AES encrypt some text, add the following code, which can be found at Delphi AES Encryption
    procedure TForm1.Button1Click(Sender: TObject);
    crypt: HCkCrypt2;
    glob: HCkGlobal;
    success: Boolean;
    ivHex: PWideChar;
    keyHex: PWideChar;
    encStr: PWideChar;
    decStr: PWideChar;
    glob := CkGlobal_Create();
    success := CkGlobal_UnlockBundle(glob,'Anything for 30-day trial');
    if (success <> True) then
    crypt := CkCrypt2_Create();
    ivHex := '000102030405060708090A0B0C0D0E0F';
    keyHex := '000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F';
    encStr := CkCrypt2__encryptStringENC(crypt,'The quick brown fox jumps over the lazy dog.');
    decStr := CkCrypt2__decryptStringENC(crypt,encStr);
  8. Build the project to create the output .EXE
  9. Important: Copy the ChilkatDelphi32.dll (or ChilkatDelphi64.dll) to the same directory where the output .EXE is located. This will typically be in a subdirectory such as "Win32/Debug". The Chilkat DLL must be located in the same directory as your application's .EXE.
  10. Run.

The downloads on this page are the full-version Chilkat product downloads.
Chilkat libraries are fully functional for 30-day evaluations.

Release Notes

The release notes are available here on the Chilkat blog.

"Embarcadero" is a registered trademark of Embarcadero Technologies.