Groups | Blog | Home
all groups > c# > february 2004 >

c# : Asynchronous call problem


Justin Harrison
2/12/2004 9:29:03 PM
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

Vadym Stetsyak
2/13/2004 8:19:18 AM
provide more information about your problem or post a code sample

[quoted text, click to view]

James
2/14/2004 10:56:05 AM

[quoted text, click to view]

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

AddThis Social Bookmark Button