You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by jianlizhao <ji...@hotmail.com> on 2012/06/07 14:09:30 UTC

how get openoffice program path?

Hi 

My os is ms windows.
I write a extention.
In my  extention how can I get openoffice program path.
I want to  Dynamic loading some dll.
Who can tell me get the  path method?


Best regards.


Re: how get openoffice program path?

Posted by Regina Henschel <rb...@t-online.de>.
Hi,

jianlizhao schrieb:
> Hi
>
> My os is ms windows.
> I write a extention.
> In my  extention how can I get openoffice program path.
> I want to  Dynamic loading some dll.
> Who can tell me get the  path method?
>

You might get some hints in
http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/OfficeDev/Resolving_Path_Variables

Kind regards
Regina

Re: how get openoffice program path?

Posted by Fernand Vanrie <so...@pmgroup.be>.
  jianlizhao,

do some googling on GetpathSettings

hope it helps

fernand
> Hi
>
> My os is ms windows.
> I write a extention.
> In my  extention how can I get openoffice program path.
> I want to  Dynamic loading some dll.
> Who can tell me get the  path method?
>
>
> Best regards.


Re: how get openoffice program path?

Posted by Jürgen Schmidt <jo...@googlemail.com>.
On 6/7/12 2:57 PM, Jürgen Schmidt wrote:
> On 6/7/12 2:09 PM, jianlizhao wrote:
>> Hi 
>>
>> My os is ms windows.
>> I write a extention.
>> In my  extention how can I get openoffice program path.
>> I want to  Dynamic loading some dll.
>> Who can tell me get the  path method?
>>
> can you explain a little bit more what you want to do? Loading any
> library from the program directory sounds strange and is normally not
> necessary when you work with the UNO API.
> 
> Juergen
> 
forget to mention that you shouldn't enter existing threads, please
start a new one with a related subject.

Juergen

Re: how get openoffice program path?

Posted by Jürgen Schmidt <jo...@googlemail.com>.
On 6/7/12 2:09 PM, jianlizhao wrote:
> Hi 
> 
> My os is ms windows.
> I write a extention.
> In my  extention how can I get openoffice program path.
> I want to  Dynamic loading some dll.
> Who can tell me get the  path method?
> 
can you explain a little bit more what you want to do? Loading any
library from the program directory sounds strange and is normally not
necessary when you work with the UNO API.

Juergen