Re: Asynchronous HTTP Examle Error
- Posted by Brian Broker <brian_broker at yahoo.com> Dec 02, 2005
- 482 views
Brian Broker wrote: > > Damien Black wrote: > > > > > > The Asynchronous HTTP example just gives me a error when I click the get > > > button, a rather long one too. Is it no longer compatable with > > > win32lib? Has someone put together a newer compatable version? > > > Am I just not setting something up? Here is error, is it helps: > > > > > > > > > C:\program files\programming\EUPHORIA\include\win32lib.ew:8405 in function > > > invok > > > eHandler() > > <snip> > > > > > > > > > What should I do? > > > > If I go to the function 'ProccessMessage' in 'AsyncHTTP' and add a fourth > > object > > perameter it will run all right... but I'm wary of using such a patchy fix. > > Anyone know the real reason this happens? > > Hi Damien, > > This was written using a (much?) older version of Win32Lib but I don't see > what > version was used in development. > > I fixed up the example program to use setHandler instead of the deprecated > onEvent[] > handlers and that fixed the crash but I'm still not getting any data or error > message. > > If I were interested enough and still couldn't figure it out, I'd probably > just > email Thomas. I'm willing to bet that he'd help you out and maybe even update > his demo in the archives. > > -- Brian Ooops... I gave up on it too soon. There was one more onEvent[] handler in the lib that needed to be converted. I've uploaded the working demo to http://cablespeed.com/~bkb/Eu/AsyncHTTP.zip -- Brian