incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ochirov Nikolay <ochirovniko...@gmail.com>
Subject Re: Question about OOo, AOO
Date Tue, 10 Apr 2012 18:02:09 GMT
Thank you very much, Regina!

I just noticed that the AOO open all documents in one process, it became
interesting.
But I would like to write code that would do so would AOO every single
document open in a single process)))
I began to look as it does AOO, found the function OfficeIPCThread ::
EnableOfficeIPCThread (), changed code a bit.
But it didn't work -  first document is opened, while others will not open.
AOO gives a messgebox

                 The application cannot be started.
                 [context = "user"] caught unexpected exception! (user - my
account in system, system - Ubuntu)

I have no much experience in this question in particular and programming in
general. If anyone will be willing to help with this - I will be very
happy!
Regards,
Nikolay

10 апреля 2012 г. 21:09 пользователь Regina Henschel <
rb.henschel@t-online.de> написал:
> Hi Nikolay,
>
> Ochirov Nikolay schrieb:
>
>> Hello!
>> I hope I haven't t bothered with my questions.
>> But I don't have anyone to ask for advice, so I rely on your wisdom,
>> the Jedi of this mailing list
>>
>> So,
>> Why AOO all documents open in a single process?
>> Has anyone tried to make AOO open documents in different processes?
>
>
> Why do you want to do it?
>
> This things are possible:
>
> Generate a folder for a second user. Call AOO with the -env parameter. You
> get one process, but two different users. For example one user can use a
> German UI and the other user can use an English UI.
>
> Install the AOO in administrative mode with setting a different user path
on
> bootstrap.ini. Then you can run two processes soffice.exe.
>
> If a user starts soffice.exe he gets a .lock file in his user directory,
> which prevents, that soffice.exe is started a second time for the same
user.
>
> Kind regards
> Regina

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message