I've had trouble working out, from the code, what a user installation path is. There are two classes called Bootstrap, and my one reads the details from a map, which I assume is populated somewhere.<div><br></div><div>
Is there a broad-brush guide to how the code works, for newbies?</div><div><br></div><div>James.<br><br><div class="gmail_quote">On Tue, Jan 3, 2012 at 8:51 PM, Stephan Bergmann <span dir="ltr"><<a href="mailto:sbergman@redhat.com">sbergman@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 01/03/2012 02:35 AM, James C wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
What now strikes me as more likely is:<br>
- each process from each version of LibreOffice cooperates with<br>
other processes, so that only one LO process is running<br>
- (probably) the cooperation extends across versions<br>
- I don't recall whether I got a window, or only a change of current<br>
application<br>
- I may have had a change to an already-running process from the other version<br>
- (probably) closing that to retry enabled me to have the version I wanted<br>
</blockquote>
<br></div>
Yes, that's another source of confusion. Upon startup, an soffice instance tries to connect to a "named pipe" with a well-known name (and sets that pipe up in listening mode if it does not yet exist). That way, only one instance will ever be running for a given installation. The well-known name contains (a hash of) the user installation path, so whenever two installations would share a user installation, they are connected in this way. (See desktop/source/app/<u></u>officeipcthread.cxx for details.)<span class="HOEnZb"><font color="#888888"><br>
<br>
Stephan<br>
</font></span></blockquote></div><br></div>