Hi all,
Thanks for all replies.
The OS that I tested on is Windows XP. The reason why I started a openoffice 
process in listening mode is to run an invisible instance that runs in the 
background for automated tasks.
Ariel Constenla-Haile have tested that the simple bootstrap example from the 
SDK. Anything else I can try? Are there alternate methods to bootstrap? Will 
this be fixed in the coming version? Any estimated release date?
> Date: Wed, 18 Sep 2013 10:44:14 -0300
> From: arie...@apache.org
> To: api@openoffice.apache.org
> Subject: Re: cppu::bootstrap() does not work with OpenOffice 4.0.0
> 
> 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
                                          

Reply via email to