64 bit ActiveX vs Windows Forms

A

any

Is it possible to host a 64 bit ActiveX control in Windows Forms? If yes,
how do you add a reference to it? When trying to do so I get a
"Self-registration for Boo.dll failed." error from Visual Studio 2008.
 
H

Herfried K. Wagner [MVP]

any said:
Is it possible to host a 64 bit ActiveX control in Windows Forms? If yes,
how do you add a reference to it? When trying to do so I get a
"Self-registration for Boo.dll failed." error from Visual Studio 2008.

There is no 64-bit version of COM, and thus there are no separate 64-bit
ActiveX components. As COM is a 32-bit technology and ActiveX is based on
it, you'll have to compile the application for X86 in order to be able to
use the ActiveX control.
 
P

pagerintas pritupimas

There is no 64-bit version of COM, and thus there are no separate 64-bit
ActiveX components. As COM is a 32-bit technology and ActiveX is based on
it, you'll have to compile the application for X86 in order to be able to
use the ActiveX control.

A quote from Microsoft KB (http://support.microsoft.com/kb/896457):

"The 64-bit version of Internet Explorer can host only native 64-bit ActiveX
controls and other 64-bit Web page objects."

That suggests that there is such a thing as 64-bit ActiveX control. The
questions is: does Windows Forms and Visual Studio 2008 support it?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top