Delphi Error: Undeclared identifier ‘TChilkatGlobal’

See the “Quick Start” instructions here: The Chilkat distribution contains Delphi .pas source files, one for each Chilkat class. For each Chilkat class used, add the corresponding .pas file to your project. You’ll always need to add “Global.pas” because your app must always call UnlockBundle at the start. Also add “Global” to the “uses” section. See here:

Delphi Binary Data

This post shows some code snippets for getting data from Delphi Byte arrays (TBytes) and TMemoryStream’s in and out of Chilkat. First, here are some code snippets to convert from a TMemoryStream to a byte array, and back. Delphi TBytes to TMemoryStream

Convert CkDateTime to Delphi TDateTime

Question: Which is the best way to convert a CkDateTime to a Delphi TDateTime? Answer: I didn’t know the answer, so I Googled “Delphi TDateTime” to see exactly what it is.  It brought me to this web page: In Delphi, TDateTime is a type that maps to a Double. In C++, the TDateTime class corresponds to the Delphi TDateTime […]