libURLDownloadToFile buggy?
Posted: Wed Apr 08, 2015 5:06 pm
Hi,
I'm using libURLDownloadToFile to grab image files on demand in a mobile project.
It's function - or that of the library that is needed - seems very erratic and unpredictable.
On some occasions it works perfectly then on others it fails with a "Handler: can't find handler" error.
Sometimes, changing things in stand-alone application settings (eg. between auto / manual library selection) seems to get it working again, but nothing seems reliable.
Once it works without error in the debugger, it will also then apparently build OK for Android if I select that.
I *think* it's then upset again if I make any changes in the function that contains it, even though these do not change the operation in that area or the parameters passed to the download function.
I'm using livecode 7.0.4 rc3 at present.
Any thoughts on getting this to work reliably?
Thanks,
RJ.
I'm using libURLDownloadToFile to grab image files on demand in a mobile project.
It's function - or that of the library that is needed - seems very erratic and unpredictable.
On some occasions it works perfectly then on others it fails with a "Handler: can't find handler" error.
Sometimes, changing things in stand-alone application settings (eg. between auto / manual library selection) seems to get it working again, but nothing seems reliable.
Once it works without error in the debugger, it will also then apparently build OK for Android if I select that.
I *think* it's then upset again if I make any changes in the function that contains it, even though these do not change the operation in that area or the parameters passed to the download function.
I'm using livecode 7.0.4 rc3 at present.
Any thoughts on getting this to work reliably?
Thanks,
RJ.