Chilkat Visual C++ Library

Chilkat has released many of its widely-used components in the form of C++ classes as part of a Visual C++ 6.0 static library. This distribution contains C++ classes for Zip, Mail, MHT, Encryption, XML, and Character Encoding Conversion, as well as supporting classes for digital certificates and cryptographic service providers.

The classes mirror the Chilkat .NET and ActiveX components. The properties and methods of each class are virtually identical to those of the components, and the semantics are also the same. While the C++ class documentation is being written, we hope that you can refer to the .NET or ActiveX documentation (links below) to understand the methods and properties.

Chilkat ActiveX Component Documentation

AES InteropCertificateCharsetCkStringArrayCSP

Email FTPIMAPMHT S/MIMEXMLZip

Chilkat .NET Component Documentation

The Chilkat Visual C++ Library contains many purchasable products:

PRODUCT CLASSES
Chilkat Zip VC++ CkZip, CkZipEntry
Chilkat Email VC++ CkMailMan, CkEmail, CkEmailBundle
Chilkat Charset VC++ CkCharset
Chilkat Encryption VC++ CkCrypt
Chilkat S/MIME VC++ CkMime
Chilkat MHT VC++ CkMht
Chilkat XML VC++ CkXml
Free Supporting Classes CkString, CkByteData, CkStringArray, CkCert, CkCertStore, CkCreateCS, CkCSP, CkCertChain, CkCertCollection

Chilkat Libs

The Chilkat VC++ distribution comes with 12 libraries. Depending on your Visual C++ Project Settings, you will link with two of them:

Project Settings / Type Chilkat Libs to Link Against
Debug/Single-Threaded ChilkatDbgSt.lib, CkBaseDbgSt.lib
Debug/Multi-Threaded ChilkatDbgMt.lib, CkBaseDbgMt.lib
Release/Single-Threaded ChilkatRelSt.lib, CkBaseRelSt.lib
Release/Multi-Threaded ChilkatRelMt.lib, CkBaseRelMt.lib
Debug/Multi-Threaded DLL ChilkatDbgDll.lib, CkBaseDbgDll.lib
Release/Multi-Threaded DLL ChilkatRelDll.lib, CkBaseRelDll.lib

In addition, you may find that you need to include the following system libraries depending on what functionality is used:

wininet.lib, rpcrt4.lib, crypt32.lib, ws2_32.lib

IMPORTANT: If an unresolved external for CertGetPublicKeyLength occurs, update your Platform SDK to a newer version: http://www.microsoft.com/msdownload/platformsdk/sdkupdate/

Header Files

Header files can be found in the "include" subdirectory, relative to the directory where the distribution was unzipped. The published Chilkat VC++ classes are designed to hide all implementation details to minimize dependencies.

Example Programs

Example programs can be found in the "Example Programs" subdirectory, relative to the directory where the distribution was unzipped. Each product contains one example program, but within the example you will effectively find many simple examples, where each example concentrates on demonstrating one particular task. At the time of this writing, there are few examples. More examples are coming, but if you need an example quickly, simply send an email to "support@chilkatsoft.com" with your request, and Chilkat will make an effort to provide your example within 24 hours.