Apache OpenOffice (AOO) Bugzilla – Issue 98740
OOo 3.0.1: OLE server error
Last modified: 2009-03-30 12:36:31 UTC
OOo 3.0.1 under Windows Vista. Steps to reproduce: 1) Open Wordpad application 2) Select Menu:Insert > Object... (translated from Italian) 3) Try inserting a OOo object (i.e. OpenDocument - Spreadsheet) 4) ERROR: Error creating object. (translated from Italian)
Priority changed.
If this issue is confirmed it probably represents a regression from OOo 3.0. i suggest to consider it as an OOo 3.1 stopper here at: http://www.openoffice.org/issues/show_bug.cgi?id=95768
Confirming this on Vista, but certainly true for all windows versions. The InprocHandler32 registry key for OOo formats points to <OOo installation path>\program\inprocserv.dll This dll can be found at <OOo installation path>\Basis\program\inprocserv.dll. After correcting the registry value, there is still a problem, because uwinapi.dll is not found. After copying uwinapi.dll to the Basis\program directory, it is possible to start OOo as OLE server via Insert, Object...
Yes, this is a stopper for 3.1. I's not a regression from 3.0 to 3.0.1. This library is new to OOo 3.0.1.
Setting target OOo 3.1 ... and fixed in cws native222.
is -> of: please verify in cws native222. please check English installation sets.
Adding myself to cc.
@mav,hjs: That inprocserv.dll depends on uwinapi.dll (which it will not find when loaded into a process that has a PATH that does not include the OOo URE layer bin directory where uwinapi.dll resides) is an error. It is caused by VERSIONOBJ= at tags/DEV300_m41/embedserv/source/inprocserv/makefile.mk l. 47, which causes no generated version.obj to be included but apparently does not prevent GetVersionInfo from being added to the inprocserv def file. When linking together inprocserv.dll, the linker then uses the GetVersionInfo from the otherwise unused uwinapi.lib implicitly contained in the list of libraries linked against. (This in turn is probably due to the DEF1EXPORTFILE in embedserv/source/inprocserv/makefile.mk, as for example tags/DEV300_m41/extensions/source/activex/main/makefile.mk also sets VERSIONOBJ= but does not export any GetVersionInfo.)
@ SB Please take over
of: Just fixing the registry entries for inprocserv.dll doesn't solve the problem.
@hjs: please take over
inprocserv.dll no longer depends on uwinapi.dll. follow-up issue will clean up the inconsistencies when using VERSIONOBJ=
issue 98919 is the follow up
Reassigned to mru for verification.
Verified in CWS native222.
follow up issue 98922
reassigned
Created attachment 59980 [details] Changes the wrong registry entries of OOo 3.0.1
Created attachment 59981 [details] makefile for fix, need office build environment
I've added the source code for a quick fix for the wrong registry entries of an OOo 3.0.1
Checked in OOO310m7.