Chilkat v10.1.2 Release Notes

Previous Version: Chilkat v10.1.0 Release Notes XmlDSigGen: In v10.0.0 Chilkat started automatically using and fixing for SigningCertificateV2 for cases where the xmlns:xades=”http://uri.etsi.org/01903/v1.3.2#” (and also v1.4.1 and v1.4.2), which is technically correct. However many govt validators, specifically Poland, Saudia Arabia, and others, reject XML signatures using SigningCertificateV2. Chilkat backed out this “fix” and will revisit the issue in the future. UnixCompress/Tar: […]

Chilkat v10.1.0 / v10.1.1 Release Notes

Next Version: Chilkat v10.1.2 Release Notes Previous Version: Chilkat v10.0.0 Release Notes Prepare for Future Major Version Releases Global.DefaultUtf8: For programming languages where strings are null-terminated byte sequences (e.g., C, C++, Perl, Python 2.*, PHP, Ruby), set the Global.DefaultUtf8 property to true or false at the start of your application, ideally when calling UnlockBundle. The default value is currently false […]

Chilkat v10.0.0 ActiveX Registration and Object Creation

Chilkat adopted standard semantic versioning starting with Chilkat version 10.0.0.  See https://cknotes.com/semantic-versioning-starting-with-chilkat-10-0-0/ For this discussion, it’s important to understand the fundamentals of ActiveX registration.  To ensure a basic understanding, I recommend briefly reviewing the tutorial web pages at https://chilkatsoft.com/activex_dll_registration_tutorial.asp It should take only 10 minutes, and I promise it will save you much time and frustration. ActiveX Object Creation / […]

Semantic Versioning Starting with Chilkat 10.0.0

Starting with the v10.0.0 release (end of September 2024), Chilkat moves to standard semantic versioning.   Prior to this release, for various technical reasons, Chilkat was stuck with versions 9.5.0.xx, where only xx changed. For this first leap to semantic versioning, where the major version changes to 10 (from 9), there are no backward incompatible changes.  Going forward, when we move […]

Chilkat Secrets Class added in Version 10.1.0

Introduced in version 10.1.0, the Chilkat Secrets class enables managing secrets like passwords and OAuth2 tokens locally (on Windows and MacOS/iOS) and across various cloud platforms. It offers a unified API for seamless secret storage and supports the following standard operations: Create/Update a Secret List Secrets Delete a Secret Get a Secret’s Value Secrets can be located in: Windows Credentials […]

Wrapping a Chilkat Synchronous Method in C# async/await

Chilkat provides its own Async functions, separate from C#’s async/await. For each synchronous Chilkat function that may take time due to network communication or other factors, an Async version is also available, returning a Chilkat Task object (distinct from C#’s Task object). Chilkat’s Async functionality exists in all of the programming languages: C++, PHP, Ruby, Perl, Python, VB6, VBScript, DataFlex, […]

Wasabi: The provided ‘x-amz-content-sha256’ header does not match what was computed.

As of 14-Oct-2024, Wasabi (an S3 compatible service), does not understand that uppercase/lowercase hex should not matter.. <Error> <Code>XAmzContentSHA256Mismatch</Code> <Message>The provided ‘x-amz-content-sha256’ header does not match what was computed.</Message> <ClientComputedContentSHA256>8AFBD736EC2917807F5FF5D8A9018846AA9D6B25EC839506DACE0D588DE491C5</ClientComputedContentSHA256> <S3ComputedContentSHA256>8afbd736ec2917807f5ff5d8a9018846aa9d6b25ec839506dace0d588de491c5</S3ComputedContentSHA256> <RequestId>…</RequestId> <HostId>…</HostId> <CMReferenceId>…</CMReferenceId> </Error>

Returning Binary Data from ActiveX to SQL Server varbinary(max)

The error -2147211494 (hex 0x80040202) in SQL Server when using “sp_OAMethod” typically indicates a type mismatch or invalid data type issue, particularly when interacting with COM objects that return binary data. The Chilkat ActiveX returns a SAFEARRAY of VT_UI1, which causes the problem explained below.  The solution is to instead look for the Chilkat method that returns the binary data as […]

How to Implement a REST API Function

Question: We are trying to interface with RingCentral to send faxes and they require us to upload the file and also send a JSON message at the same time – is there a function that can do this? Answer: The best way to solve such a problem is as follows: 1. Find the Developer Documentation for the REST API in […]

Error Code 800A01AD trying to CreateObject in VBScript

Question: I got the following error when trying to instantiate an ActiveX object in my VBScript (.vbs) Code “800A01AD”Message “ActiveX component can’t create object: ‘Chilkat.Cert’” Answer: It means the ActiveX is not registered.  Yes, you probably registered the ActiveX, but you need to understand if your VBScript is running as a 32-bit process, or a 64-bit process.  You then need […]

How to Run 32-bit vs 64-bit VBScript

To run a .vbs VBScript explicitly as either a 32-bit or 64-bit process on a 64-bit Windows system, you need to specify which version of the Windows Script Host (wscript or cscript) to use. By default, the script runs using the version of the Windows Script Host that matches the bitness of the environment in which it is invoked (32-bit […]