Chilkat v11.0.0 ActiveX Object Creation

Starting in Chilkat v11.0.0, applications using CreateObject (or similar) should pass an identifier beginning with “Chilkat.”.   If your application uses “Chilkat_9_5_0.”, then strings must be updated to use “Chilkat.”.  For example:

The reference documentation web page for each Chilkat ActiveX object shows the object creation statements for various programming languages.  For example:

(ASP)
set obj = Server.CreateObject("Chilkat.Http")

(AutoIt)
$obj = ObjCreate("Chilkat.Http")

(VBScript)
set obj = CreateObject("Chilkat.Http")

(FoxPro)
loObject = CreateObject('Chilkat.Http')

(PowerBuilder)
lole_object = create oleobject
li_rc = lole_object.ConnectToNewObject("Chilkat.Http")

(SQL Server)
EXEC @hr = sp_OACreate 'Chilkat.Http', @obj OUT

ActiveX Major Version-Specific Naming

You can alternatively create objects using major version specific naming.  For example, to create objects using Chilkat version 11.*.*, you can do the following, where the “.10” indicate the major version number:

(ASP)
set obj = Server.CreateObject("Chilkat.Http.11")

(AutoIt)
$obj = ObjCreate("Chilkat.Http.11")

(VBScript)
set obj = CreateObject("Chilkat.Http.11")

...

If you choose to use version specific naming, then your object creation statements will need to be updated when Chilkat releases a new major version.  For example, when Chilkat releases v12.0.0 you’ll need to update like this:

(ASP)
set obj = Server.CreateObject("Chilkat.Http.12")

(AutoIt)
$obj = ObjCreate("Chilkat.Http.12")

(VBScript)
set obj = CreateObject("Chilkat.Http.12")

...

Chilkat_9_5_0.*** Goes Away in v11.0.0 and later.

Starting with Chilkat v11.0.0 (which will likely be released in Q1 or Q2 2025), the CreateObject(“Chilkat_9_5_0.***”) names will no longer work.  You’ll need to use either CreateObject(“Chilkat.***”) or CreateObject(“Chilkat.***.<major_version_number>”)

Tags :