Thanks.
How do i go about running 2 instances of openoffice? Also, how can I ensure that each process bootstraps and connect to its own instance? > Date: Fri, 26 Mar 2010 08:21:33 +0100 > From: juergen.schm...@sun.com > To: d...@api.openoffice.org > CC: dev@openoffice.org > Subject: [dev] Re: [api-dev] multiple connections to openoffice service > > 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 > _________________________________________________________________ Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. https://signup.live.com/signup.aspx?id=60969