Sample code for 30+ languages & platforms
Xbase++

Get Version of Chilkat

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

Chilkat Xbase++ Downloads

Xbase++
LOCAL oSftp
LOCAL cChilkatVersion
LOCAL oJson

//  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:
oSftp := CreateObject("Chilkat.SFtp")
cChilkatVersion := oSftp:Version
? cChilkatVersion

//  Most other Chilkat classes also have the Version property
//  For example:
oJson := CreateObject("Chilkat.JsonObject")
? oJson:Version

oSftp:destroy()
oJson:destroy()