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 — […]
Question: In C++, is it somehow possible to specify a desired charset (like ISO-8859-15) when getting mail headers with POP3? Answer: Instead of calling the method that returns a “const char *” — which can return either utf-8 or ANSI (see this Chilkat blog post about the Utf8 property common to all Chilkat C++ classes), […]
The Chilkat C/C++ libraries are now available for MAC OS X. For the download link and more information, see http://www.chilkatsoft.com/installMacOSX.asp Chilkat will soon release MAC OS X compatible builds for Java, Perl, Python, and Ruby. Following that, builds for the IOS (IPhone) will be released, along with Objective-C/C++ native libraries for both MAC OS X […]
Here’s an example that demonstrates a rough start to creating a C# console SSH shell terminal (where the user can type commands and output from the remote command echos to the console: using System; using System.Collections.Generic; using System.Text; using System.IO; namespace SshTerminalConsole { class Program { static void Main(string[] args) { Chilkat.Ssh ssh = new […]
The technique for aborting any time-consuming Chilkat C++ method call follows this recipe: Declare your own class that derives from the appropriate Chilkat progress monitoring class. For CkMailMan it is CkMailManProgress (as shown below). For other Chilkat classes it is CkHttpProgress, CkFtpProgress, CkImapProgress, CkZipProgress, etc. Create an implementation for the AbortCheck method. This will override […]
Question: I need to send a unicode string (e.g TCHAR *ptr) but the API only allows to send char. Answer: /* The _TCHAR data type is defined conditionally in Tchar.h. If the symbol _UNICODE is defined for your build, _TCHAR is defined as wchar_t; otherwise, for single-byte and MBCS builds, it is defined as char. […]
Question: In your examples online, we have noticed that .Dispose() is never called after using Chilkat classes (we are writing in C#). Is calling .Dispose() recommended? Does your code not need to destroy any native resources or handles that would normally be cleaned up in the Dispose method (the IDisposeable interface) ? Answer: For objects […]
Question: I am developing a single EXE in C++ that doesn’t make use of any external libraries and including MFC. Can I add your zip libaries to my application and still maintain the application as a single EXE? Answer: Yes, the Chilkat C++ libs may be linked directly into your application. This results in a single […]
This blog post shows how to monitor the progress of HTTP uploads and downloads in C++. The first step is to create a C++ callback class that derives from the CkHttpProgress base class. You’ll be overriding one or more of the callback methods. For example: class MyHttpProgress : public CkHttpProgress { public: MyHttpProgress(void) { } […]
This example may help C++ programmers needing to scan email bodies for strings and automatically replace: void EmailBodyExample(void) { CkEmail email; // Set the plain-text and HTML alternative bodies. // Note: Because we’re using literal strings, the strings passed // to these methods are ANSI strings (i.e. they are 1-byte per char // in this […]
Here is an example for monitoring the progress of an SFTP file transfer: void sftp_OnPercentDone(object sender, Chilkat.PercentDoneEventArgs args) { progressBar1.Value = args.PercentDone; // To abort at any point, you may set args.Abort = true // args.Abort = true; } void sftp_OnAbortCheck(object sender, Chilkat.AbortCheckEventArgs args) { // See https://cknotes.com/?p=149 for more information about // using the […]