Explaining OAuth2.StartAuth
This post explains the OAuth2 flow for desktop apps. It begins by calling OAuth2.StartAuth. The oauth2.StartAuth method does two things: 1) Returns a URL that should be displayed in a browser. 2)...
View ArticleHTTP “broken pipe” Error on non-Windows Systems (Linux, iOS, MacOSX, etc.)
If you see the error lines “The connection already exists, as far as we know..” followed by “socketError: Broken pipe” in any LastErrorText for a method that sends an HTTP request, it means the...
View ArticleDelphi DLL – GetBytesPtr (Writing PByte to TStream)
Chilkat v9.5.0.80 adds a new BinData function named GetBytesPtr. It returns a pointer to the internal bytes contained within the BinData. This post shows one way of writing those bytes to a Delphi...
View ArticleGenerate Chilkat Code from Postman Request
Here’s a YouTube video showing how to Generate Chilkat code from a working Postman request. https://youtu.be/DhfFTqt0Ihg
View ArticleUsing .NET Assembly in Microsoft Dynamics on Server as Windows Service
Question: We are using your software with Microsoft Dynamics AX 2012, and it works on the client side, but not on the server. The server is started as a Windows service, but raises at start EventId 193...
View ArticleTLS Connection Disrupted after Handshake Completes
The following error can be caused by firewall restrictions. I do not know the specifics of the firewall restrictions, but the TLS connection completes successfully in the prior call to...
View ArticleC++ Builder 2007: Unresolved external ‘__fseeki64’
Question: I work with C++ Builder There are no problems with chilkatLib in IDE version XE8 but I still have some code in C++ Builder 2007 Is it possible to solve this case somehow: [ilink32 Error]...
View ArticleFtp2 AuthTls, AuthSsl, and Ssl Properties Clarified
Question: We are about using Chilkat C++ library for an FTPS connection. I read on online documentation that there is method CkFtp2::put_AuthTls which allows setting TLS connection. Some questions...
View ArticleUsing Chilkat Python in AWS Lambda
Question: Do you know of an easy way to package up the python chilkat so that AWS Lambda supports it? Answer (Generously provided by Chilkat’s customer) “It ended up being easier than expected. Just...
View ArticleGo Language Static Linking to remove libstdc++ Requirement
Question: I used compiler from here for windows: http://mingw-w64.org/doku.php I built the application I described earlier. Looks like I have to supply libstdc++.dll along with the exe. Is it possible...
View ArticleGenerate XAdES-BES with .pem, .cer, or .pfx?
Question: The examples refer to a type certificate or “.pfx”. My certificate is a “.pem” or “.cer” file. Can I generate an XAdES-BES enveloped digital signature to insert in my xml file? Which method...
View ArticlePHP dl() function?
Question: My developer tells me that the Chilkat extension uses an insecure function dl(), which has not only been deprecated since PHP 5.3, but has actually been removed from some server installations...
View ArticleHMRC Ending Support for TLS versions 1.0 and 1.1
Question: We use your system to submit to VAT returns to HMRC using Making Tax Digital. Does this TLS stuff mean anything to you? The only reference I can see to it in the code is setting a TLS...
View ArticleError: Node.js requires NODE_MODULE_VERSION 72
Question: I am trying to use the Node.js library with node installed through home-brew, but I get this error when executing an example script: Error: The module...
View ArticleDesktop Application UI Freezes in Function Call (C#, VB.NET, VB6, Xojo, etc.)
I often get this question: “I’m calling the method XYZ and the UI freezes until the method returns.”. For example: “I’m trying to upload a file in FTP. I’m trying the examples of the site but the...
View ArticleQ/A 25-Oct-2019
Question: One of my suppliers has provided a certified x509 certificate p12, in order to connect to his WS Soap. Developing in the Visual FoxPro environment, I ask you if you have libraries with...
View ArticleQ/A 30-Oct-2019
Question: I updated from an older version of Chilkat to the latest version, and the following CkFtp2 (C++) methods no longer exist: GetLastAccessDt and GetLastAccessDtByName. What happened to them?...
View ArticleQ/A 11-Nov-2019 (Thread Safety)
Question: We have a desktop application(client) that can communicate to many devices(servers) at the same time. A different thread pool is used for each device communication, so they do not block each...
View ArticleSolved: Unable to load ‘chilkatDnCore-9_5_0’ or one of its dependencies in...
Problem: I was using Chilkat to sign xml messages, very similar to one of your examples: https://www.example-code.com/dotnet-core/fatturapa_cades_bes.asp The code was deployed as an Azure V2 function...
View ArticleGenerating Code to Create XMP XML
The Chilkat Xmp class provides the abililty to insert/update/remove/extract XMP metadata from JPEG and TIFF image files. In addition, the XMP API provides helper methods to make it easier to construct...
View Article