Re: Getting out of HTEventList_loop()

gstreet@oscar.penguinpowered.com wrote:
> 
> I'm having trouble getting out of HTEventList_loop()....
> 
> I've tried to integrate the sample POST application into my X windows program.
> 
> I have a callback which calls libwww stuff (borrowed from main() of POST sample
> application)
> 
> Everything works great until the POSt is finished.  terminate_handler is
> then called, and the program exits.  So, i removed the exit() call from
> the sample application code, but control never returns to my loop (i've
> tried return (1), return(0), etc. in the terminate_handler, but program
> control seems to stay in HTEventList_loop().  Is there something else
> I can put in the terminate handler that will say "exit libwww stuff and
> return to the calling function, without exiting the application?"
> 
> I appreciate any help.  Thanks,
> 
> Graham Street

Yes, you must call HTEventList_stopLoop() although it the event loop code
is a little buggy if there was an error.

Michael
--
*******************************************************
"Customize Tecplot with the Add-On Developer's Kit,
ask me how."
*******************************************************
Michael Saunders
Senior Programmer
Amtec Engineering, Inc.
13920 SE Eastgate Way, Suite 220
Bellevue WA  98005

Tel: 425.653.1200 Ext. 238
Fax: 425.653.9200
Web: http://www.amtec.com

Received on Wednesday, 9 June 1999 19:44:47 UTC