On 3/26/10 4:16 AM, Wei Min Teo wrote:
Hi all,
I tried to connect to the openoffice service using 2 processes by running 2 instances of
my program. They both connect to openoffice using the default bootstrap c++ api. However,
there seems to be "unexpected closure" error and it keeps crashing openoffice.
Was wondering if anyone did something like this before?
Do I have to implement some sort of mutex?
Or is it possible to run 2 instances of openoffice and bootstrap to 2 different
ports?
Any suggestions on this?
it is well known that OOo has threading problems and it is not
surprising that you run into trouble quite fast in your described scenario.
The best approach is indeed to put some mechanism around the connection
stuff to dispatch the requests and work with more than one office instance.
Juergen
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org