Quantcast
Browsing all 415 articles
Browse latest View live

Parsing Extremely Large XML Files

Question: I’m trying to read a very large xml file. It’s about 500MB. The content is a list of records. There are about 100,000 nodes with the same tag that contain single records.   Is there a limit...

View Article


Image may be NSFW.
Clik here to view.

Mismatch between the processor architecture of the project being built “MSIL”...

Question: When building my C# solution I get the following warning on several of the projects:   Severity Code Description Project File Line Suppression State Warning There was a mismatch between the...

View Article


MS CNG NCryptSignHash returns 0x80090020

We’ve seen this error when trying to sign using a smart card: msCngSignWithCert Acquired CNG private key. dwKeySpec: 0xffffffff key is CERT_NCRYPT_KEY_SPEC setSmartCardPin: setting smart card pin......

View Article

Amazon S3 Problem Resolution Hints

This post describes two problems and solutions for Amazon S3 that were recently encountered: (1) A Chilkat user found that the 1st HTTP request had a delay of 5 seconds, and then subsequent requests...

View Article

Use Chilkat for the *** REST API?

Question: Have you ever worked with Avalara Tax Software?  I need to write an interface between our application and Avalara.  Do you know if I could use the Chilkat REST API to write the interface?...

View Article


Binary vs Text Transfers (SFTP / FTP)

This post clarifies the topic of binary vs. ascii uploads/downloads for SFTP (Secure File Transfer over SSH) and FTP. Binary mode transmits bytes exactly as-is.   Text mode (also known as “ascii” mode)...

View Article

Node.js Asynchronous Methods that Return Objects

This post shows the general technique to get the object returned by a method when it is called asynchronously.   For example, consider the Mailman.GetUidls() method.  A synchronous call to GetUidls...

View Article

Image may be NSFW.
Clik here to view.

Never Handle non-Text Binary Data as a String

The bytes of a binary file, such as a JPG, PDF, etc. should never be treated as a string.  Loading a binary file into a string, and then saving back to a binary file will surely result in a different...

View Article


XAdES-BES for www.csioz.gov.pl

Chilkat has resolved problems relating to the creation of XAdES-BES XML signatures for documents sent to www.csioz.gov.pl.   These fixes will be available starting in Chilkat v9.5.0.76.   At the time...

View Article


Node.js Code for Checking POP3 Email

This Node.js sample code was graciously provided by a Chilkat user: _checkPop3: async function () { var me = this var ciphers = '' var mailman = new chilkat.MailMan() var count = 0 var sa = new...

View Article

CkPython vs. Chilkat2-Python

Question: Should I use CKPython or Chilkat2-Python for a new development (environment = Windows and Python 3.6) What’s the difference between these? Answer: The CkPython API is the original Chilkat for...

View Article

Online XML Digital Signature Validators

Chilkat’s Online XML Signature Validator: http://tools.chilkat.io/xmlDsigVerify.cshtml gob.es FacturaE online validator: http://sedeaplicaciones2.minetur.gob.es/FacturaE/ ETSI Signature Conformance...

View Article

Monitoring Progress of a Web Request

I like this article for the purpose of conceptually understanding the architecture for monitoring the progress of an HTTP web request in a Browser:...

View Article


Progress Monitoring HTTP Requests in Installed Apps

This is a note about the pitfalls of progress monitoring HTTP requests sent from an installed app (i.e. not web app running in a browser). Ideally, we’d like to know how long an HTTP POST is going to...

View Article

Image may be NSFW.
Clik here to view.

Accessing Private Key causes Windows to show Dialog Box – How to Suppress

Question:  Calling CkXmlDSigGen.SetX509Cert causes Windows to show a dialog box requesting validation.  Is it possible to avoid the dialog box? Answer: Yes.  The reason for displaying the dialog box...

View Article


Using Chilkat with la Carta Nazionale dei Servizi delle Camere di Commercio...

To use Chilkat for signing XML with a CNS smartcard, the certificate must be installed on the Windows system.  Chilkat uses the Microsoft CNG (Cryptographic Next Generation) to do the signing.  If the...

View Article

HTTPS Windows Integrated Authentication

This example explains how to do HTTP authentication on a Windows system using the current logged-on user credentials. Classic ASP: HTTPS Windows Integrated Authentication C: HTTPS Windows Integrated...

View Article


MinGW/TDM Link Errors — _time32, _localtime32, …

The following link errors can happen if the incorrect Chilkat C/C++ library is chosen. For example, if you are using the TDM 4.7.1 compiler, but you downloaded the Chilkat lib for MinGW-4.6.3, then you...

View Article

Trying to Compress Already-Compressed Data

If a file or data does not compress, and the “compressed” result is slightly larger than the uncompressed input, then… This is typical if one tries to compress already-compressed data. For example, the...

View Article

SOAP UI WSDL to Chilkat Code

We have the WSDL URL (or XML file) for a SOAP service we wish to call, and we want to know how to code it using Chilkat.. Step 1. Download and install SoapUI Open Source from here:...

View Article
Browsing all 415 articles
Browse latest View live