Sample code for 30+ languages & platforms
Unicode C++

Get Version of Chilkat

Demonstrate how to find out the version of Chilkat at runtime.

Chilkat Unicode C++ Downloads

Unicode C++
#include <CkSFtpW.h>
#include <CkJsonObjectW.h>

void ChilkatSample(void)
    {
    //  Most Chilkat classes include a Version property.
    //  To find the version of Chilkat, such as "9.5.0.94",
    //  instantiate the object and examine the Version property.

    //  For example:
    CkSFtpW sftp;
    const wchar_t *chilkatVersion = sftp.version();
    wprintf(L"%s\n",chilkatVersion);

    //  Most other Chilkat classes also have the Version property
    //  For example:
    CkJsonObjectW json;
    wprintf(L"%s\n",json.version());
    }