Chilkat v11.3.0 Release Notes

Pinned December 16, 2025

  The main features of this release focus on Chilkat’s Ai class, enabling interactive AI response streaming directly into embedded desktop application browsers. It supports Azure, custom base URLs for OpenAI-compatible providers, and local providers like Ollama. ✨ New Features Ai Real-Time Streaming AI Responses to Embedded Browsers in Desktop Apps — Stream AI responses […]

Chilkat v11.2.0 Release Notes

Pinned November 3, 2025

Previous Version: Chilkat v11.1.0 Release Notes The main addition in v11.2.0 is the Chilkat.Ai class, and the Chilkat.StringBuilder.MarkdownToHtml method. Ai: The Chilkat AI class provides a unified API for interacting with different AI providers: OpenAI, Google, Claude, xAI, Perplexity, and DeepSeek. It provides functionality for conversation management, multimodal inputs, and streaming mode. Markdown to HTML […]

Semantic Versioning Starting with Chilkat 10.0.0

Pinned September 26, 2024

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.  […]

PHP Script for Downloading, Installing, and Testing Chilkat

June 1, 2020 in PHP

Here is a bash shell script for downloading, unpacking, installing, and testing the 64-bit PHP 7.4 extension for Chilkat. 1) It assumes PHP 7.4 was installed to $HOME/phps/php74. 2) This example is downloading Chilkat version 9.5.0.82 (change the wget URL to the latest version) export PATH=$HOME/phps/php74/bin:$PATH php -v cd if [ ! -d testing ]; […]

Authentication Problem with Sending Email in Office365 using SMTP

May 26, 2020 in Office365

If SMTP authentication (using login/password) fails for your smtp.office365.com account, then it may be that your account is configured to require MFA (multi-factor authentication).   You may need to change settings to allow for legacy authentication (single-factor auth).   See https://docs.microsoft.com/en-us/azure/active-directory/conditional-access/block-legacy-authentication Also, an app password may be required.  See https://docs.microsoft.com/en-us/azure/active-directory/user-help/multi-factor-authentication-end-user-app-passwords    

Convert CkDateTime to Delphi TDateTime

May 21, 2020 in Delphi

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:  http://docs.embarcadero.com/products/rad_studio/delphiAndcpp2009/HelpUpdate2/EN/html/delphivclwin32/System_TDateTime.html In Delphi, TDateTime is a type that maps to a Double. In C++, the TDateTime class […]

Convert VB6 Date to Timestamp used by Amazon?

May 6, 2020 in Date/Time Functionality

A VB6 Date is an OLE Date (8-byte value, often represented as a double).  Use the Chilkat CkDateTime’s SetFromOleDate function to load the VB6 date/time into the CkDateTime object, then call GetAsTimestamp to emit in timestamp format.

0x80090016 – Keyset does not exist

May 6, 2020 in Keys and Storage Providers (CSP)

This blog post describes one possible cause for the “Keyset does not exist” error when trying to access/use a non-exportable private key via the Microsoft CNG or CryptoAPI. The situation was that the certificate was installed to the user’s Current User Personal Store, but the corresponding private key was stored in the Local Machine Key […]

OAuth2 Request Access Token w/ Basic Authentication

May 4, 2020 in OAuth2

Some OAuth2 token endpoints want the Client ID/Client Secret to be included using HTTP Basic Authentication. For example, we can look at the documentation for the GoToMeeting API at https://goto-developer.logmeininc.com/how-get-access-token-and-organizer-key You’ll see this under the “2 – Request Access Token”  in the GoTo API documentation linked above: curl -X POST “https://api.getgo.com/oauth/v2/token” \ -H “Authorization: Basic […]

Start Browser from Client-Side PHP Script

April 28, 2020 in Uncategorized

Let’s say you have a PHP script (not PHP on a web server, but simply a .php script that you run from a command line), this is one way to start/launch a browser and automatically load/navigate to a URL. <?php // Type “start iexplore” and press “Enter” to open Internet Explorer and view its default […]

DNS Error: failed to get host address info, gai_error 8

April 28, 2020 in Uncategorized

If your MacOSX/iOS Swift application gets this error in the Chilkat LastErrorText: smtpSocketConnect: socket2Connect: connect2: connectImplicitSsl: connectSocket: connect_ipv6_or_ipv4: getAddressInfo: Failed to get host address info. (4) gai_error: 8 hostOrIpAddr: smtp.gmail.com port: 465 –getAddressInfo getAddressInfo failed. –connect_ipv6_or_ipv4 –connectSocket –connectImplicitSsl ConnectFailReason: DNS lookup failed –connect2 –socket2Connect The solution is to enable the Outgoing Connections option in your […]

Python Error: UnicodeEncodeError: ‘charmap’ codec can’t encode character

April 15, 2020 in Uncategorized

Question: I’ve discovered an error on your example ( https://www.example-code.com/chilkat2-python/xml_i.asp ) as follows… AccountID: f1f489fb-9267-429e-a1dc-bc63a7c3f71e Traceback (most recent call last): File “M:\EXPORTIT\PY\CK_xero_accounts.py”, line 50, in print(“Name: ” + xml.GetChildContent(“Accounts|Account[i]|Name”)) File “m:\Python\Python35-32\lib\encodings\cp437.py”, line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_map)[0] UnicodeEncodeError: ‘charmap’ codec can’t encode character ‘\u2013′ in position 20: character maps to It’s failing on the this […]

O365 IMAP Authentication: OAuth and MFA Solution

January 13, 2020 in Uncategorized

There is much confusion and worry about Microsoft’s plans to disable standard password authentication for the IMAP, and POP3  protocols. Here is the announcement posted on 20-Sept-2019 on the Office 365 blog: https://developer.microsoft.com/en-us/office/blogs/end-of-support-for-basic-authentication-access-to-exchange-online-apis-for-office-365-customers/ Chilkat already supports OAuth2 for the IMAP, POP3, and SMTP protocols. (Microsoft will continue to support basic auth for SMTP)  In all […]