Maybe I'm late, however the problem is that you changed the package name
of the WinRegKey class (blub.WinRegKey instead of
com.sun.star.lib.loader.WinRegKey).
When you use a dll, the java class that calls the native code must keep its
package name. On the contrary you should create again the dll
Hi Christian,
> Sadly this doesnt work either, error report is:
>
> C:\>java -jar Test.jar
> Exception in thread "main" java.lang.UnsatisfiedLinkError:
> blub.WinRegKey.winreg
> _RegOpenCurrentUser([J)Z
> at blub.WinRegKey.winreg_RegOpenCurrentUser(Native Method)
> at blub.WinRegK
Hi Tobias,
> As described on the snippet page, it has to be in win/unowinreg.dll
>
Sadly this doesnt work either, error report is:
C:\>java -jar Test.jar
Exception in thread "main" java.lang.UnsatisfiedLinkError:
blub.WinRegKey.winreg
_RegOpenCurrentUser([J)Z
at blub.WinRegKey.winreg_Reg
Hi Christian,
> When I try to use the jar-file on windows it says:
>
> C:\>java -jar Test.jar
> Exception in thread "main" java.lang.UnsatisfiedLinkError: no unowinreg in
> java.library.path
>
> The unowinreg.dll is within the jar in the project folder, so the location
> is /blub/unowinreg.dll.
Hello Tobias
>
> > does this code snippet on
> > http://codesnippets.services.openoffice.org/Office/Office.BootstrapOpenOf
> >fice.snip only work with the OO-sdk installed?
>
> No.
>
When I try to use the jar-file on windows it says:
C:\>java -jar Test.jar
Exception in thread "main" java.lang.Un
Hi Christian,
> does this code snippet on
> http://codesnippets.services.openoffice.org/Office/Office.BootstrapOpenOffice.snip
>
> only work with the OO-sdk installed?
No.
Greetings, Tobias
-
To unsubscribe, e-mail: [EMAIL
Hello Tobias,
does this code snippet on
http://codesnippets.services.openoffice.org/Office/Office.BootstrapOpenOffice.snip
only work with the OO-sdk installed?
Thanks a lot
Chritsian
-
To unsubscribe, e-mail: [EMAIL PROTECT
Hi Christian,
Christian Walter wrote:
Hello,
i am trying to use UNO to extract Data from an CALC-Sheet. Since this program
shall be used over Web-Start, I tried to use the Loader.java to get the
installation path of OO (because this path of course differs from machine to
machine). I got it t
Christian Walter wrote:
Hello,
i am trying to use UNO to extract Data from an CALC-Sheet. Since this program
shall be used over Web-Start, I tried to use the Loader.java to get the
installation path of OO (because this path of course differs from machine to
machine). I got it to work with Lin
Hi Christian,
> Can anyone help me how to solve this problem? Can I just somehow include this
> unowinreg.dll somewhere within the program or is there another way to work
> this out?
try following the instructions of this OOo Snippet:
http://codesnippets.services.openoffice.org/Office/Office.Bo
Hello,
i am trying to use UNO to extract Data from an CALC-Sheet. Since this program
shall be used over Web-Start, I tried to use the Loader.java to get the
installation path of OO (because this path of course differs from machine to
machine). I got it to work with Linux, but with Windows it ju
11 matches
Mail list logo