v9.5.0.59 Update: New Features, Fixes, Changes, etc.

OAuth2: Added the OAuth2 class. FTP2: Fixed SyncRemoteTree/SyncRemoteTree2 progress monitoring callbacks. Crypt2: Fixed the GenerateUuid to respect RFC 4122. The GenerateUuid method generates the version 4 variant, which is composed of entirely random data except for the few bits that signify version 4. Compression: Fixed the CompressFile method for large files. See Fixed CompressFile MHT: Fixed: MS-Word html files with […]

OAuth2 for Desktop Applications (C#, VB.NET using Chilkat)

Here are C# and VB.NET sample applications (on GitHub) for doing OAuth2 authorization using Chilkat for Facebook, Google, LinkedIn, Salesforce, and GitHub. OAuth2 Sample for Desktop Applications (C#) for Facebook, Google, LinkedIn, Salesforce, and GitHub OAuth2 Sample for Desktop Applications (VB.NET) for Facebook, Google, LinkedIn, Salesforce, and GitHub    

Damn You Windows Firewall!

One particular cause of the following error is finally known: sockRecv(47ms): WindowsError: An existing connection was forcibly closed by the remote host. WindowsErrorCode: 0x2746 numBytesRequested: 5 Failed to receive data on the TCP socket –sockRecv sockRecv failed. sockRecvN_buf: Did not receive the exact number of bytes desired. numBytesToReceive: 5 This error was caused by the Windows Firewall doing stateful FTP […]

v9.5.0.58 Update: New Features, Fixes, Changes, etc.

Rest: Added the Rest class. Jwt: Added the Jwt class. AuthAws: Added the AuthAws class. AuthGoogle: Added the AuthGoogle class. AuthAzureAD: Added the AuthAzureAD class. AuthAzureStorage: Added the AuthAzureStorage class. ServerSentEvent: Added the ServerSentEvent class. CertStore: Fixed a memory leak in the LoadPemFile method. Charset: Fixed problems in the VerifyData method having to do with us-ascii and utf-8. C++: Now […]

iOS C/C++ Static Library Sizes

There is often alarm at the size of the Chilkat static libraries (.a) for iOS. This should not be of too much concern, because after building your app in Release mode, your app’s executable will NOT grow by the size of the static library. It will only grow by a very small fraction of the total size of the .a […]

iOS: Preparing your Apps for IPv6

Chilkat classes that communicate over TCP/TLS include a property named PreferIpv6. This should be set to YES/true to tell Chilkat to use IPv6 when possible. (If the underlying DNS resolution provides both IPv4 and IPv6 choices, then Chilkat will by default choose the IPv4 address. To tell Chilkat to choose the IPv6 choice, set the PreferIpv6 property equal to YES/true.) […]

The .NET Assembly “Incorrect Format” Error

If you get this error in a Windows Forms project… Look in your Project–>Properties (ALT+F7) and go to the “Build” tab. You’ll see the “Platform target” – If it’s set to “x64”, then make sure you reference the 64-bit Chilkat assembly. – If it’s set to “x86”, then make sure you reference the 32-bit Chilkat assembly. – If it’s set […]

C Language Callbacks

This example demonstrates the general pattern for implementing some standard event callbacks functions for the Chilkat “C” API.  All Chilkat “classes” what have events will use the standard Chilkat events shown in the example below (AbortCheck, PercentDone, and ProgressInfo). This example demonstrates callbacks for an SFTP download, but the same technique applies to any other Chilkat “class”, such as HTTP, […]