Apache OpenOffice (AOO) Bugzilla – Issue 95255
CLI UNO bridge not working
Last modified: 2009-01-13 12:52:06 UTC
... a change of the registry keys HKEY_LOCAL_MACHINE\SOFTWARE\OpenOffice.org\Layer HKEY_CURRENT_USER\Software\OpenOffice.org\Layer to HKEY_LOCAL_MACHINE\SOFTWARE\OpenOffice.org\Layers HKEY_CURRENT_USER\Software\OpenOffice.org\Layers (Which key is written depends on whether OOo is installed for all or the current user) broke the cli bootstrap mechanism. The bootstrap code in cli_cppuhelper.dll does not find the URE libraries. Changin "Layers" to "Layer" will make it work again. Or setting the PATH variable to include the bin folder of the ure, for example C:\Program Files\OpenOffice.org 3\URE\bin will make it work again.
*** Issue 95302 has been marked as a duplicate of this issue. ***
.
Now, cli_cppuhelper uses the Software/OpenOffice.org/UNO/InstallPath only.
OF: Is ok in cws jl114.
...
The "Layers" key will now be "Layers_" for none Sun builds and Layers-dev (or similar) for dev-builds. The workaround in all cases would be renaming the key to Layer
As the comments in this issue are very short - may I read this as: it is impossible to use the CLI bridge in OOo3.0?
No. When changing the mentioned registry keys then it will work. But this still bears the risk that other coder relying on the now changed key breaks.
OF: Looks good in OOO300_m15