Hello to everybody. I need view odt document in my developped app (Windows 7x64, Qt, c++) using Activex.
I downloaded Libreoffice 5.3.0 for Windows 64(http://www.libreoffice.org/download/download/), install Activex component (ActiveX Control to Display Documents in Internet Explorer - LibreOffice Help). However when I try to register component with admin rights via C:\Windows\SysWOW64>regsvr32 “some_directory\so_activex.dll”, the next error occured: “the module so_activex.dll was loaded but DllRegisterServer failed with error code 0x80004005”.
Moreover I had no problems with x86 version and could view document in IE11 but app is developped for x64.
Thank for help.
I must say you that the ActiveX component that implements inserting LO into other frames is destined to be abandoned in a next version. The deprecation notice is published in release notes already for 5.1, 5.2 and 5.3 versions. Lately, a discussion happened in dev list regarding that, and most likely that the change is to happen in 5.4.
The component isn’t being actively maintained; its primary purpose being embedding into IE. And given that until now every system, even 64-bit, runs primarily 32-bit IE, I doubt that 64-bit module got any more extensive testing than ensuring that it compiles OK.
So, I urge you to abandon the idea to use that component in your project, unless you’re OK with either sticking with latest LO that would support it, or supporting the component yourself.
Thanks for response
Btw, Dmitriy, you seem to run 32-bit regsvr32 (from C:\Windows\SysWOW64) for 64-bit control… I suppose that’s what your error 0x80004005 is about. Use C:\Windows\System32\regsvr32