Asynchronous call problem

  • Thread starter Thread starter Justin Harrison
  • Start date Start date
J

Justin Harrison

Hi,

I've got a function I am calling asynchronously, with a callback. The
callback gets called once, with valid return data. It gets called a second
time, with no return data. Does anybody have any idea of what is going on?

Justin
 
Justin Harrison said:
Hi,

I've got a function I am calling asynchronously, with a callback. The
callback gets called once, with valid return data. It gets called a second
time, with no return data. Does anybody have any idea of what is going on?

Justin

If you are writing some sort of file access (ftp - file - tcp generaly) then
your'e code is calling it twice - the second call is down to the fact that
your'e code is passing null into it - make sure your code that calls the
async thread cannot pass null

James Jenkins
http://www.kimberleydawn.co.uk
 
Back
Top