Our application use component 'Dynamic Html Editor' to allow user edit html text.
Our application refer to microsoft.mshtml.
When this application built in x86 mode - dynamic html editor works properly on windows 7 x64.
But now we need include other component which need application be compiled for 64 target platform. So we cannot prepare application in x86 mode any more.
So when we prepare application in Any CPU target platform, and install it on Windows 7 x64, application does not see registered dynamic html editor control and the following exception occurs:
MESSAGE: 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)
View Complete Post