On 9/18/13 11:37 AM, 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. > which operating system you are using?
when you want to use a specific connecton url you have to use the XUnoUrlResolver to connect. cppu:bootstrap() looks for the default office installed on your system, start it on demand and connect to it. I need more info about your work environment . Have you tried the SDK samples? Juergen --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org