start calc if resolve fails

Stephan Bergmann sbergman at
Mon Mar 30 07:10:54 UTC 2020

On 27/03/2020 19:58, Iain wrote:
> If resolve fails through
> resolver.resolve(
> "uno:socket,host=localhost,port=2002;urp;StarOffice.ComponentContext" )
> (or something similar)
> Because there is no running office, how can I start a libreoffice process,
> wait until its running and transfer control back to my program?

That's what many of LO's tests do.  Code is in 
unotest/source/cpp/officeconnection.cxx (C++) and 
unotest/source/java/org/openoffice/test/ (Java).

More information about the LibreOffice mailing list