Hi Perry,
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.
although I don't know what could be called in C++ or UNO to
achive this, it may also help you to get some Basic related
information. It's also possible to send Basic into a waiting
loop that keeps the UI responsive by using the wait command,
e.g.:
sub main
while true
wait 1000 ' 1000 ms = 1 s
print "Hello"
wend
end sub
The UI is responsive while running this program. Instead of the
print command you could call your extension to ask if there was
a host response or a failure or whatever and then exit the loop.
Regards
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]