1

Topic: Windows 7 64-bit - ActiveX registered, on does not form

Good afternoon! Faced such problem - I use from the.NET applications (Framework v2.0) ActiveX dsoframer.ocx (which is OLE - the container) By operation under Winddows XP and Windows 7 32-bit it normally is registered with the help regsvr32 and forms in my application. However in Windows 7 64-bit though regsvr32 fulfills (I I launch the version which is in WINDOWS\SysWow64) and produces the message that DllRegisterServer it was successfully fulfilled, at an application launch and attempts to create in it ActiveX the error "the Class is produced not registered" - System.Runtime.InteropServices.COMException (0x80040154): Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance (Guid& clsid, Object punkOuter, Int32 context, Guid& iid) at System.Windows.Forms.AxHost.CreateWithoutLicense (Guid clsid) at System.Windows.Forms.AxHost.CreateWithLicense (String license, Guid clsid) at System.Windows.Forms.AxHost.CreateInstanceCore (Guid clsid) at System.Windows.Forms.AxHost.CreateInstance () at System. Windows. Forms. AxHost. GetOcxCreate () at System.Windows.Forms.AxHost.TransitionUpTo (Int32 state) at System. Windows. Forms. AxHost. CreateHandle () at System.Windows.Forms.Control.CreateControl (Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl (Boolean fIgnoreVisible) at System. Windows. Forms. AxHost. EndInit () at OutlayNew.OutlayNewForm.InitializeComponent () at OutlayNew. OutlayNewForm. ctor () at OutlayNew. Program. Main () In what there can be a problem?

2

Re: Windows 7 64-bit - ActiveX registered, on does not form

Hello, ConstantinZ, you wrote: CZ> In what there can be a problem? That yours.NET application is 64-bit and cannot use 32 bit code.

3

Re: Windows 7 64-bit - ActiveX registered, on does not form

Hello, Vi2, you wrote: Vi2> Hello, ConstantinZ, you wrote: CZ>> In what there can be a problem? Vi2> that yours.NET application is 64-bit and cannot use 32 bit code. I.e. it is necessary to compile application explicitly how 32 bit, specifying in adjustments  Platform target x86 (at me now costs Any CPU) and then it will normally work with 32 bit ActiveX in 64-bit Windows, I correctly understand?

4

Re: Windows 7 64-bit - ActiveX registered, on does not form

Hello, ConstantinZ, you wrote: CZ> I.e. it is necessary to compile application explicitly how 32 bit, CZ> specifying in adjustments  Platform target x86 (at me now costs Any CPU), CZ> and then it will normally work with 32 bit ActiveX in 64-bit Windows, I correctly understand? Yes