Issue 98740 - OOo 3.0.1: OLE server error
Summary: OOo 3.0.1: OLE server error
Status: CLOSED FIXED
Alias: None
Product: Installation
Classification: Application
Component: code (show other issues)
Version: OOo 3.0.1
Hardware: PC Windows, all
: P2 Trivial (vote)
Target Milestone: OOo 3.1
Assignee: michael.ruess
QA Contact: issues@installation
URL:
Keywords:
Depends on:
Blocks: 95768
  Show dependency tree
 
Reported: 2009-02-02 14:08 UTC by vitriol
Modified: 2009-03-30 12:36 UTC (History)
7 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Changes the wrong registry entries of OOo 3.0.1 (5.87 KB, text/plain)
2009-02-06 08:35 UTC, dirk.voelzke
no flags Details
makefile for fix, need office build environment (1.95 KB, text/plain)
2009-02-06 08:36 UTC, dirk.voelzke
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description vitriol 2009-02-02 14:08:49 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)
Comment 1 vitriol 2009-02-02 14:16:18 UTC
Priority changed.
Comment 2 tommy27 2009-02-02 16:12:14 UTC
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
Comment 3 hennerdrewes 2009-02-03 11:41:22 UTC
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...
Comment 4 Olaf Felka 2009-02-03 12:53:38 UTC
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.
Comment 5 ingo.schmidt-rosbiegal 2009-02-03 14:10:17 UTC
Setting target OOo 3.1
... and fixed in cws native222.
Comment 6 ingo.schmidt-rosbiegal 2009-02-03 14:18:10 UTC
is -> of: please verify in cws native222. please check English installation sets.
Comment 7 michael.ruess 2009-02-03 16:21:22 UTC
Adding myself to cc.
Comment 8 Stephan Bergmann 2009-02-04 13:13:00 UTC
@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.)
Comment 9 Olaf Felka 2009-02-04 13:24:26 UTC
@ SB Please take over
Comment 10 Olaf Felka 2009-02-04 13:26:21 UTC
of: Just fixing the registry entries for inprocserv.dll doesn't solve the problem.
Comment 11 Stephan Bergmann 2009-02-04 13:34:54 UTC
@hjs: please take over
Comment 12 hjs 2009-02-05 13:39:17 UTC
inprocserv.dll no longer depends on uwinapi.dll. follow-up issue will clean up
the inconsistencies when using

VERSIONOBJ=

Comment 13 hjs 2009-02-05 13:46:33 UTC
issue 98919 is the follow up
Comment 14 michael.ruess 2009-02-05 15:00:16 UTC
Reassigned to mru for verification.
Comment 15 michael.ruess 2009-02-05 15:12:36 UTC
Verified in CWS native222.
Comment 16 Olaf Felka 2009-02-05 15:23:02 UTC
follow up issue 98922
Comment 17 Olaf Felka 2009-02-05 15:24:01 UTC
reassigned
Comment 18 dirk.voelzke 2009-02-06 08:35:49 UTC
Created attachment 59980 [details]
Changes the wrong registry entries of OOo 3.0.1
Comment 19 dirk.voelzke 2009-02-06 08:36:43 UTC
Created attachment 59981 [details]
makefile for fix, need office build environment
Comment 20 dirk.voelzke 2009-02-06 08:39:42 UTC
I've added the source code for a quick fix for the wrong registry entries of an
OOo 3.0.1
Comment 21 michael.ruess 2009-03-30 12:36:31 UTC
Checked in OOO310m7.