Hi, On Thu, Sep 19, 2013 at 01:46:16PM +0800, Wei Min Teo wrote: > 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?
Yes. If the simple bootstrap mechanism is broken, you have to use the old method of first starting the office listening for interprocess connections. Documentation: http://wiki.openoffice.org/wiki/Documentation/DevGuide/ProUNO/UNO_Interprocess_Connections http://wiki.openoffice.org/wiki/Documentation/DevGuide/ProUNO/C%2B%2B/Establishing_Interprocess_Connections Sample code: - in the SDK installation, C++ examples using the com.sun.star.bridge.UnoUrlResolver examples/DevelopersGuide/ProfUNO/CppBinding/office_connect.cxx examples/cpp/DocumentLoader/DocumentLoader.cxx - there is a C++ "connection aware client" in http://svn.apache.org/viewvc/openoffice/devtools/sdk-examples/trunk/cpp/cppbindings/ConnectionAwareClient/ Regards -- Ariel Constenla-Haile La Plata, Argentina
pgpGH7RRSvdw5.pgp
Description: PGP signature