On Wed, Sep 18, 2013 at 08:43:09AM -0300, Ariel Constenla-Haile wrote:
> Hi,
> 
> On Wed, Sep 18, 2013 at 05:37:36PM +0800, Wei Min Teo wrote:
> > Hi, I'm writing in C++ and testing on OpenOffice 4.0.0. I encountered
> > a problem where cppu::bootstrap() throws a cppu::BootstrapException
> > with the message "no soffice installation found!".  Prior to this,
> > I have started the soffice process and passed in the -accept flag to
> > open up a listening port. Running netstat has confirmed this. However,
> > bootstrap still fails. This code was previously working with OO 3.x.
> > It'll be great if anyone can give me some advice on this.  Thanks.
> 
> You need to start the office in listening mode only if you are using the
> com.sun.star.bridge.UnoUrlResolver or a connection-aware client [1], but
> the simple bootstrap mechanism does not require a running office
> listening for interprocess connections.
> 
> The simple bootstrap mechanism was broken due to changes in the office
> installation structure (the so called 3-layer removal), this was
> reported for Linux in
> https://issues.apache.org/ooo/show_bug.cgi?id=122483
> At that time I couldn't test it on Windows, because C++ examples could
> not even be compiled.
> 
> What is your OS? On Linux, running client applications from outside the
> SDK environment works fine (didn't try on Windows yet).

This simple bootstrap example from the SDK
http://svn.apache.org/viewvc/openoffice/trunk/main/odk/examples/DevelopersGuide/ProfUNO/SimpleBootstrap_cpp/
does not run when double-clicking on SimpleBootstrap_cpp.exe, looks like
a regression on the unoapploader Windows code.


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina

Attachment: pgpDKyqiVXV7v.pgp
Description: PGP signature

Reply via email to