To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=94518
                 Issue #|94518
                 Summary|unowinreg.dll does not work on Windows XP with OOo 2.4
                        |.1
               Component|sdk
                 Version|OOo 3.0 RC3
                Platform|PC
                     URL|
              OS/Version|Windows XP
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|tools
             Assigned to|jsc
             Reported by|mux2005





------- Additional comments from [EMAIL PROTECTED] Wed Oct  1 08:33:35 +0000 
2008 -------
A JAR file that uses the simple bootstrap will fail under the following 
conditions

- Windows XP
- the JAR file includes the classes/ directory from the OOo 3.0 SDK
- OOo 3.0 is not installed

The error message is 

Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Dokumente
und Eins
tellungen\twc\Lokale Einstellungen\Temp\unowinreg7421.dll: Diese
Anwendung konnt
e nicht gestartet werden, weil die Anwenungskonfiguration nicht korrekt
ist. Zur
 Problembehebung sollten Sie die Anwendung neu installieren
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(Unknown Source)
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.load0(Unknown Source)
        at java.lang.System.load(Unknown Source)
        at com.sun.star.lib.loader.WinRegKey.<clinit>(WinRegKey.java:88)
        at
com.sun.star.lib.loader.InstallationFinder.getPathFromWindowsRegistry
(InstallationFinder.java:207)
        at
com.sun.star.lib.loader.InstallationFinder.getPath(InstallationFinder
.java:115)
        at com.sun.star.lib.loader.Loader.getCustomLoader(Loader.java:176)
        at com.sun.star.lib.loader.Loader.main(Loader.java:137)

See mailing list thread at
http://api.openoffice.org/servlets/ReadMsg?list=dev&msgNo=20062

In other words: A program built with the classes/ from the current 3.0 SDK will
not work under Windows XP with OOo 2.4.1 installed, i.e. backwards-compatible
programs cannot be built with it. The problem does not seem to occur under
Windows 2000. Windows Vista hasn't been tested so far.

The problem goes away when the unowinreg.dll is replaced with the old
unowinreg.dll from 2.4.1 SDK, i.e. by using a mixture of the classes/ from 3.0
SDK and the unowinreg.dll from 2.4.1 SDK you can build backwards-compatible
applications.

Since the above error occurs before the office installation has been found, it
should not depend on the presence of the OpenOffice.org 3 files and in fact, if
C:\Programme\OpenOffice.org 3 is removed, the error still does not occur 
(naturally a different error will occur but that happends later in the bootstrap
phase). This leads me to the assumption that certain registry keys created by
OpenOffice.org 3 are involved. But I'm not familiar with DLL loading.

In any case, something has been changed in unowinreg.dll after 2.4.1 SDK, that
has broken its compatibility.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to