Chilkat v11.6.0 / v11.6.1 Release Notes
See Release Notes for Versions 11.6.0 and 11.6.1
See Release Notes for Versions 11.6.0 and 11.6.1
✨ New Features HttpCurl A new Chilkat class has been added: HttpCurl The Chilkat.HttpCurl class executes curl commands and can automatically resolve dependent values needed by a request. Variables such as {{access_token}}, {{site_id}}, or {{drive_id}} may appear in URLs, headers, query parameters, or request bodies. If a variable is not yet known, HttpCurl builds […]
✨ New Features Js A new Chilkat class has been added: Js is a minimal, standards-compliant JavaScript engine designed to embed JavaScript inside applications with very small footprint and fast startup. It executes JavaScript code inside an application without requiring a browser or large runtime. See About the Chilkat.Js JavaScript Engine Ai Provider — […]
Problem: A Chilkat FoxPro programmer was calling Rest.FullRequestSbAsync with a 3MB request. It failed with a WSAECONNABORTED error message. However, calling Rest.FullRequestSb works fine. Why? Answer: When the async version of a method is called, Chilkat is starting a background thread to call the synchronous version of the method. For example, the Async method returns […]
A Chilkat ActiveX user (in VB6) was struggling with a “Permission denied (Error 70)”. It occurred on the very first call to a Chilkat method (UnlockBundle). Solution: The solution is that the ActiveX DLL somehow did not have read + execute permissions. The 1st access to a method in the ActiveX triggered the runtime to […]
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 ]; […]
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
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 […]
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.
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 […]
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 […]
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 […]
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 […]