Delphi DLL AbortCheck Callbacks

The Chilkat Delphi DLL (non-ActiveX) supports callbacks starting in version 9.5.0.82, to be released in Feb 2020. Pre-release Beta builds are available upon request. Also see: Delphi DLL PercentDone Callbacks Delphi DLL ProgressInfo Callbacks Delphi DLL TaskCompleted Callbacks 1) First define a function exactly as shown here. Make sure to …

Delphi DLL PercentDone Callbacks

The Chilkat Delphi DLL (non-ActiveX) supports callbacks starting in version 9.5.0.82, to be released in Feb 2020.   Pre-release Beta builds are available upon request. Also see: Delphi DLL AbortCheck Callbacks Delphi DLL ProgressInfo Callbacks Delphi DLL TaskCompleted Callbacks 1) First define a function exactly as shown here.  Make sure to …

Chilkat PHP Extension on MacOSX Catalina with SIP (System Integrity Protection)

Mac OS X 10.11 El Capitan and later protects system files and processes with a new feature named System Integrity Protection. SIP is a kernel-level feature that limits what the “root” account can do.   It will prevent you from copying the Chilkat PHP shared lib (.so) to the PHP extensions …

Working with Huge (Extremely Large) JSON Files

Question: I am using the following calls in Visual FoxPro with Chilkat_9_5_0.JsonObject (9.5.0.80) and the resulting JSON is writing only {} oChilkatJson=Createobject(‘Chilkat_9_5_0.JsonObject’) oChilkatJson.LoadFile(“pathToLargeJSONFile”) oChilkatJson.EmitCompact=1 =STRTOFILE(oChilkatJson.Emit(),pathToOutputFile) Original Size of JSON: 259 MB (271,982,395 bytes) New JSON outputs as: {} I could use the https://www.example-code.com/foxpro/create_complex_json.asp​ to read and write each JSON property/object to memory and perform the …

Generated Code for XAdES Signing Certificates

Question: I am user of your component and I have problem with signing XML files. I got (invalid) ds:Signature with same not replaced text “TO BE GENERATED BY CHILKAT” in tree node (SigningCertificate|xades:Cert[1] and SigningCertificate|xades:Cert[2]) The SigningCertificate|xades:Cert[0] is valid. … CkXml object1; object1.put_Tag(“xades:QualifyingProperties”); object1.AddAttribute(“xmlns:xades”,”http://uri.etsi.org/01903/v1.3.2#”); object1.AddAttribute(“xmlns:xades141″,”http://uri.etsi.org/01903/v1.4.1#”); object1.AddAttribute(“Target”,”#xmldsig-0d264d45-0a6a-4431-8e74-35463a71756c”); object1.UpdateAttrAt(“xades:SignedProperties”,true,”Id”,”xmldsig-0d264d45-0a6a-4431-8e74-35463a71756c-signedprops”); object1.UpdateChildContent(“xades:SignedProperties|xades:SignedSignatureProperties|xades:SigningTime”,”TO BE GENERATED …

Generating Code to Create XMP XML

The Chilkat Xmp class provides the abililty to insert/update/remove/extract XMP metadata from JPEG and TIFF image files.  In addition, the XMP API provides helper methods to make it easier to construct XML according to XMP specifications.  These methods are usually sufficient, but may lack flexibility to create more complex XMP …