login about faq

I am trying to register the 64-bit Chilkat ActiveX DLL on a 64-bit Windows computer, but get this error message:

LoadLibrary("C:\temp\HTTP\ChilkatHttp_x64.dll") failed.
GetLastError returns 0x000000c1.

My .bat for registering the DLL contains this:

regsvr32 C:\tempHTTP\ChilkatHttp_x64.dll

asked Nov 14 '12 at 09:00

chilkat's gravatar image

chilkat ♦♦

If the PATH environment variable is such that the 32-bit regsvr32 is chosen over the 64-bit regsvr32, then the .bat (above) will be trying to register the 64-bit ActiveX into the 32-bit registry, and it will fail. (The LoadLibrary failure is because the 32-bit regsvr32 cannot load a 64-bit DLL into its address space.)

The solution is to fully specify the path to regsvr32, to make sure it is the 64-bit regsvr32 that is used:

c:\windows\system32\regsvr32 C:\tempHTTP\ChilkatHttp_x64.dll


answered Nov 14 '12 at 09:06

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: Nov 14 '12 at 09:00

Seen: 11,576 times

Last updated: Nov 14 '12 at 09:06

powered by OSQA