Return-Path: X-Original-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1F1B69CA4 for ; Tue, 10 Apr 2012 18:02:37 +0000 (UTC) Received: (qmail 54242 invoked by uid 500); 10 Apr 2012 18:02:36 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 54083 invoked by uid 500); 10 Apr 2012 18:02:36 -0000 Mailing-List: contact ooo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-dev@incubator.apache.org Received: (qmail 54075 invoked by uid 99); 10 Apr 2012 18:02:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Apr 2012 18:02:36 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ochirovnikolay@gmail.com designates 209.85.161.175 as permitted sender) Received: from [209.85.161.175] (HELO mail-gx0-f175.google.com) (209.85.161.175) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Apr 2012 18:02:30 +0000 Received: by ggcy3 with SMTP id y3so61140ggc.6 for ; Tue, 10 Apr 2012 11:02:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=14ufEyc/2fXwubQpC+FM8xjwWIatgpUiEnvcAj34uLY=; b=IDOmndu9FdlS6UJT6TgATklBS31jMGReU0nFKQro5dZuxTnLL23vN1VFMQUocOL6te HiVn/24xjGhaNncupaCAdihQw4qTQBBJz/SuZx9Kv6JufSmEIU6RUVxW6ud/hX0AsdMO x61Ts9gB/8MTtC472RaHyQjg6U22o+FauIw7iPIq80M31CtAQJySuUYEEvBdzfXQnmKn QtnoVLQB3ZfebFygeQOfXNakjKPR6a44SKux77wNB2EDcsjtqjigRnnlirxsEgYPfMjW DeQapk6Otme5lqmrzk7F7UkZS4NJZazNZ3iQOxqtQoLxpV5FqPWSRpH0ox2pthxJLY+4 C3dQ== MIME-Version: 1.0 Received: by 10.50.187.233 with SMTP id fv9mr3338361igc.34.1334080929549; Tue, 10 Apr 2012 11:02:09 -0700 (PDT) Received: by 10.64.70.67 with HTTP; Tue, 10 Apr 2012 11:02:09 -0700 (PDT) In-Reply-To: <4F846959.8080903@t-online.de> References: <4F846959.8080903@t-online.de> Date: Tue, 10 Apr 2012 22:02:09 +0400 Message-ID: Subject: Re: Question about OOo, AOO From: Ochirov Nikolay To: ooo-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=14dae9340e0be84dde04bd56eb84 X-Virus-Checked: Checked by ClamAV on apache.org --14dae9340e0be84dde04bd56eb84 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable 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 =3D "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 =C1=D0=D2=C5=CC=D1 2012 =C7. 21:09 =D0=CF=CC=D8=DA=CF=D7=C1=D4=C5=CC=D8 = Regina Henschel < rb.henschel@t-online.de> =CE=C1=D0=C9=D3=C1=CC: > 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. Yo= u > 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 --14dae9340e0be84dde04bd56eb84--