64 bit ActiveX vs Windows Forms

  • Thread starter Thread starter any
  • Start date Start date
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.
 
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.
 
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?
 
Back
Top