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… –setSmartCardPin Using PKCS1 padding. msCngSign.NCryptSignHash failed. failed to sign. secStatus: 0x80090020 –msCngSignWithCert The 0x80090020 error is a generic “NTE_FAILED: An internal error occurred”. …

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

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 processor architecture of the project being built “MSIL” and the processor architecture of the reference “ChilkatDotNet47, Version=9.5.0.75, Culture=neutral, …

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 Python API that uses something called SWIG (swig.org) to produce the Python wrappers around the C/C++ implementation.  The result …

Test Creating ActiveX Object using VBScript (.vbs)

This article guides you to verify that the Chilkat ActiveX is installed properly and that it’s possible to create an instance of the object. Please first read this tutorial to understand basic concepts:  https://chilkatsoft.com/activex_dll_registration_tutorial.asp Step 1.  Download the 32-bit Chilkat ActiveX from here: https://chilkatsoft.com/downloads_ActiveX.asp *select the Zip Install (manual registration) …

Convert CSV to utf-8?

Question: We’ve purchased a few of your products in the past and they work great.  Here’s a question on another one:  I’m creating a .csv file within a vfp program and I need it to be an Utf-8 format.  I’m not finding anywhere how to do that programatically.  Do you …