Perry Werneck wrote:

> Hi,
> 
> I'm not sure if it's the right list to ask for help but I'm having a problem
> to implement a uno object on C++ and I'm need some help!
> 
> The problem: I'm working in an OXT module allowing a starbasic script  to
> get informations from a 3270 host using tn3270e; the service itself is ok
> and all the network stuff is running in a separate thread but, some part of
> the code needs to wait for any kynd of host response; when I do this all the
> OpenOffice.org ui hangs.
> 
> I'm looking for some function cal to keep the UI responsive even if the
> starbasic script is waiting; something like the gtk_main_iteration() call.
> 
> Is it possible in uno code? How can I do this? 

If you want to execute code outside of the GUI thread you have to
implement it in Java or C++. OOo Basic does not have support for threads.

The "wait" call mentioned by Andreas is a dirty workaround but perhaps
it works for you.

Ciao,
Mathias

-- 
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to "[email protected]".
I use it for the OOo lists and only rarely read other mails sent to it.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to