TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
write2jey
NA
69
0
Asynchronous Question
Feb 14 2005 10:14 PM
I'm developing a FTP client application with async. methods. Using delegates and begininvoke. But, still the application doesn't seem to be multithreaded from main GUI's thread cuz during download it halts and the GUI interface blanks out. It returns to normal only after the download has been done. The code doesnt' return to "// other processing stuff //////////" from below till downloading is complete. Thanks, JJ ------------------------- For thsoe who're interested in code: class A { DelegateDownload d = new DelegateDownload (b.Download); d.BeginInvoke(...., ...., ....., ...., new AsyncCallback(b.DownloadCallback); // other processing stuff ////////// } //end of class A class B { public void Download(..., ...., ...., ....) { } public void DownloadCallback(IAsyncResult ar) { } } //end of class B
Reply
Answers (
1
)
How to delete or Remove Item with image from ListView in C#?
sending emails on behalf of