Load URL doesn't send message

Dave Cragg dcragg at lacscentre.co.uk
Fri Jul 29 04:37:16 EDT 2005


On 29 Jul 2005, at 03:33, J. Landman Gay wrote:

> I'm using libURL 1.1.3b1 (apparently what ships with 2.6) and can't  
> get a message when the URL is done. I'm trying:
>
>  load url tURL with message "myMsg"
>
> No message is sent. Is it just me?

It's just you, Jacque. I'm going back to bed.

Just kidding!

Obvious things first:

Have you spelled the message handler name correctly in your load call?

(Not that? Pity! )

The things that could cause the message not to be sent that I can  
think of:

An "unload url" or clearing of  the pendingMessages after the message  
has been sent but before it is handled. The likely place for this  
kind of thing would be in the status callback handler. After a  
succesful load, the final  callback message gets sent just before the  
"load message", both sent in 0 milliseconds. So if your callback  
handler does one of these things when the status is "downloaded", the  
message won't get sent.

So I'd look at the callback handler first.

Cheers
Dave







More information about the use-livecode mailing list