Results 1 to 4 of 4

Thread: Async Delegates VS. Threading ..

  1. #1

    Thread Starter
    Hyperactive Member spoiledkid's Avatar
    Join Date
    Oct 2002
    Location
    Canada
    Posts
    437

    Async Delegates VS. Threading ..

    For executing asynchronous process, for instance fetching and loading data from database for controls like Combobox, Grid and stuff .. Is it better to use Asynchronous Delegates or use MultiThreading. What is the real difference between these two anyway ?

  2. #2
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    Threading gives you more power and flexibility than using async delegates. At least that's what I think..

    With Async delegates you can't for example do thread pooling
    \m/\m/

  3. #3
    Fanatic Member VBCrazyCoder's Avatar
    Join Date
    Apr 2003
    Posts
    681
    If your going the async route - make sure you have a callback defined so you can clean up - there was a known memory leak if you didn't in 2002 - not sure if it was fixed in 2003...

  4. #4

    Thread Starter
    Hyperactive Member spoiledkid's Avatar
    Join Date
    Oct 2002
    Location
    Canada
    Posts
    437
    I am doing everything, I even defined callback functions. I am getting crazy errors .. can anybody help me with this ?

    Check this thread out please.
    http://www.vbforums.com/showthread.p...hreadid=296212

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width