login about faq


We have to support an old VB6 based project in which ChilkatSocket (licensed Active-X version from 09/2011.) was used. Today I wanted to update the ChilkatSocket.dll to its latest version. I downloaded version which is 6.5MB ( was 1.8MB). I assume that there have been security related improvements (just assuming, I haven't checked) so I thought it might be time to use a newer version (probably should have done that earlier).

Using VB6 under a XP VM updating the dll works fine.

However, on a Win7x64 machine, I get the error message after replacing and registering the dll:

Run-time error '-2147221231 (80040111)':
Automation error
ClassFactory cannot supply requested class

I checked twice the dll is registered correctly (using %systemroot%syswow64regsvr32). I should notice that I did not unregister the previous version of that dll. I just replaced the DLL and ran regsrv32 (again).

Downgrading works fine. As soon as I replace the ChilkatSocket.dll (that what I renamed it to from its original name ChilkatAx-9.5.0-win32.dll) with version, everything is working properly again.

Help will be appreciated!

Thanks in advance! T.

Edit: I reproduced this issue with W7x64 and W2k8R2x64.

asked Oct 16 '14 at 08:28

Torsten's gravatar image


edited Oct 29 '14 at 03:38

Make sure the new 32-bit ActiveX DLL is registered correctly. (VB6 will always use 32-bit, even on 64-bit systems.)

Also, remove the reference from the old Chilkat ActiveX and add a reference to the new ActiveX. The new single-DLL ActiveX is effectively a different ActiveX with a different name, different CLSID's etc.


answered Oct 30 '14 at 22:32

chilkat's gravatar image

chilkat ♦♦

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Oct 16 '14 at 08:28

Seen: 3,786 times

Last updated: Oct 30 '14 at 22:32

powered by OSQA