|
-
Feb 28th, 2004, 04:04 AM
#1
Thread Starter
Fanatic Member
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
-
Feb 28th, 2004, 12:27 PM
#2
Sleep mode
Every app has one working thread (UI Thread) . If you multithreaded (created other methods in different threads) your application , it would be more responsive .
-
Feb 28th, 2004, 03:04 PM
#3
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.
-
Feb 28th, 2004, 03:34 PM
#4
Thread Starter
Fanatic Member
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
-
Feb 28th, 2004, 03:42 PM
#5
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|