Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to use 32-bit Active X in 64-bit IE?

Posted on 2010-09-21
6
Medium Priority
?
2,216 Views
Last Modified: 2013-11-29
I have an old VB6 ActiveX dll. I registered it with regsvr32.exe in the Windows\SysWOW64 directory. When I use the control in 32-bit IE, it works fine. It gives an "Automation server cannot create object" error in 64-bit IE. How can I fix this?
0
Comment
Question by:tkroll71
  • 3
  • 2
6 Comments
 

Author Comment

by:tkroll71
ID: 33729214
Forgot to mention this is on a Win 7 x64 machine.
0
 

Accepted Solution

by:
prabhatia earned 200 total points
ID: 33732987
For an OCX to be download on a 64 bit IE it needs to be compiled for 64 bit platform.

If you browse the Internet with 64-bit Internet Explorer 6.0 on a 64-bit OS , and you view a Web page that contains a  32-bit ActiveX control, you are prompted to install the ActiveX control. When  you attempt to install the ActiveX control, the installation process is  unsuccessful. Although the activeX control acts like it is being installed, is  not installed.

64 bit OCX can be registered with regsvr32.exe in system32 folder not in Syswow64.

You need to compile that ActiveX dll for 64 bit platform.

Again one more thing that 64 bit ActiveX dll will not work on 32 bit IE.

So in your application you must have a JavaScript code to identify the IE (32 bit or 64 bit). And according to load the Active X.
0
 

Author Comment

by:tkroll71
ID: 33735643
Thanks for the response.

Interesting. This is contrary to what I read that says a 32-bit dll works fine on 64-bit systems running under the WOW64 layer, which is designed exactly for this purpose.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Closing Comment

by:tkroll71
ID: 33736601
Not what I wanted to hear but nonetheless correct. Thank you.
0
 

Expert Comment

by:prabhatia
ID: 33741950
32 bit dlls works fine on a 64 bit machine if loaded by a 32 bit application.
As your OCX is 32 bit and IE is 64 bit application, it wont work.
0
 
LVL 9

Expert Comment

by:Sar1973
ID: 38053079
Is this test enough to identify the case in which JS won't work?
var myNVGTST=navigator.userAgent.indexOf("MSIE")>=0 && navigator.cpuClass.indexOf("64")>=0 && navigator.platform.indexOf("32")>=0;
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
Unable to change the program that handles the scan event from a network attached Canon/Brother printer/scanner. This means you'll always have to choose which program handles this action, e.g. ControlCenter4 (in the case of a Brother).
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question