Re: [api-dev] Using Loader with windows does not work

2008-06-03 Thread filmac
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

Re: [api-dev] Using Loader with windows does not work

2008-02-08 Thread Tobias Krais
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

Re: [api-dev] Using Loader with windows does not work

2008-02-08 Thread Christian Walter
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

Re: [api-dev] Using Loader with windows does not work

2008-02-08 Thread Tobias Krais
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.

Re: [api-dev] Using Loader with windows does not work

2008-02-08 Thread Christian Walter
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

Re: [api-dev] Using Loader with windows does not work

2008-02-08 Thread Tobias Krais
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

[api-dev] Using Loader with windows does not work

2008-02-08 Thread Christian Walter
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

Re: [api-dev] Using Loader with windows does not work

2008-02-07 Thread Juergen Schmidt
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

Re: [api-dev] Using Loader with windows does not work

2008-02-07 Thread Stephan Bergmann
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

Re: [api-dev] Using Loader with windows does not work

2008-02-07 Thread Tobias Krais
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

[api-dev] Using Loader with windows does not work

2008-02-06 Thread Christian Walter
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