login about faq

Hi!

We have to support an old VB6 based project in which ChilkatSocket (licensed Active-X version 2.3.10.1 from 09/2011.) was used. Today I wanted to update the ChilkatSocket.dll to its latest version. I downloaded version 9.5.0.45 which is 6.5MB (2.3.10.1 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 2.3.10.1, 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

Torsten
1233

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.

link

answered Oct 30 '14 at 22:32

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

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

Tags:

×3
×1

Asked: Oct 16 '14 at 08:28

Seen: 1,099 times

Last updated: Oct 30 '14 at 22:32

powered by OSQA