Results 1 to 5 of 5

Thread: threads

  1. #1

    Thread Starter
    Fanatic Member carlblanchard's Avatar
    Join Date
    Sep 2003
    Location
    Bournemouth (UK)
    Posts
    539

    threads

    Ok if i create a DLL and then ref that DLL into my application will the DLL run in a seperate thread than the application or are they combined in the same thread, My UI freezes because the amount of work the dll (will be doing) Currently its not a dll Just all inline

    Many Thanks
    I am curretly building a defect management system for software and web developers,
    If you wana try it out (beta test) and keep it for free just send me a message

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Every app has one working thread (UI Thread) . If you multithreaded (created other methods in different threads) your application , it would be more responsive .

  3. #3
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Along with what Pirate said a dll is not multithreaded by nature unless you run code that makes it so which works the same way if you leave the code inline as well.

  4. #4

    Thread Starter
    Fanatic Member carlblanchard's Avatar
    Join Date
    Sep 2003
    Location
    Bournemouth (UK)
    Posts
    539
    any good clearly expained examples you know off for multitheading
    I am curretly building a defect management system for software and web developers,
    If you wana try it out (beta test) and keep it for free just send me a message

  5. #5
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Anything using either the ThreadPool object, a delegate and BeginInvoke, or the Threading.Thread object will get you going. Its pretty simple the help files and past posts here should have good examples. The main thing to remember is that an object can't be shown on the UI thread unless it was created on that thread.

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