We have to support an old VB6 based project in which ChilkatSocket (licensed Active-X version 18.104.22.168 from 09/2011.) was used. Today I wanted to update the ChilkatSocket.dll to its latest version. I downloaded version 22.214.171.124 which is 6.5MB (126.96.36.199 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:
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 188.8.131.52, everything is working properly again.
Help will be appreciated!
Thanks in advance! T.
Edit: I reproduced this issue with W7x64 and W2k8R2x64.
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