Click here to Skip to main content
15,886,919 members
Home / Discussions / C#
   

C#

 
GeneralRe: problems with my C# application Pin
musefan6-Mar-09 5:30
musefan6-Mar-09 5:30 
GeneralRe: problems with my C# application Pin
laziale6-Mar-09 5:53
laziale6-Mar-09 5:53 
GeneralRe: problems with my C# application Pin
musefan6-Mar-09 6:00
musefan6-Mar-09 6:00 
GeneralRe: problems with my C# application Pin
Eddy Vluggen6-Mar-09 6:15
professionalEddy Vluggen6-Mar-09 6:15 
GeneralRe: problems with my C# application Pin
laziale6-Mar-09 6:44
laziale6-Mar-09 6:44 
GeneralRe: problems with my C# application Pin
Eddy Vluggen6-Mar-09 7:04
professionalEddy Vluggen6-Mar-09 7:04 
GeneralRe: problems with my C# application Pin
jaypatel5128-Mar-09 4:46
jaypatel5128-Mar-09 4:46 
QuestionCreating new object in another thread, then BeginInvoke that object? Pin
Matthew Klein6-Mar-09 4:13
Matthew Klein6-Mar-09 4:13 
Greetings all!

My question:
From the main thread, how can I create two additional threads, each containing an object that will sit around and wait to be invoked? I want to do this because I don’t want the objects to be created and destroyed between invokes.

This is what I would like to do:
Have a main interface and two objects. The main form has 10 things it wants the objects to do, so upon starting it sends an item to each object via BeginInvoke (the objects are controls) to work and as soon as one of the objects is finished with an item, the main thread sends that object the next item to work, until all 10 are done.

Any help you can provide is much appreciated.

Thank you!
AnswerRe: Creating new object in another thread, then BeginInvoke that object? Pin
Curtis Schlak.6-Mar-09 4:20
Curtis Schlak.6-Mar-09 4:20 
GeneralRe: Creating new object in another thread, then BeginInvoke that object? Pin
Matthew Klein6-Mar-09 5:55
Matthew Klein6-Mar-09 5:55 
GeneralRe: Creating new object in another thread, then BeginInvoke that object? Pin
Curtis Schlak.6-Mar-09 6:59
Curtis Schlak.6-Mar-09 6:59 
GeneralRe: Creating new object in another thread, then BeginInvoke that object? Pin
Curtis Schlak.6-Mar-09 7:40
Curtis Schlak.6-Mar-09 7:40 
GeneralRe: Creating new object in another thread, then BeginInvoke that object? Pin
Dave Kreskowiak6-Mar-09 7:15
mveDave Kreskowiak6-Mar-09 7:15 
GeneralRe: Creating new object in another thread, then BeginInvoke that object? Pin
Dan Neely6-Mar-09 8:35
Dan Neely6-Mar-09 8:35 
QuestionWeb Services and Files Pin
cdpace6-Mar-09 3:49
cdpace6-Mar-09 3:49 
AnswerRe: Web Services and Files Pin
Curtis Schlak.6-Mar-09 4:08
Curtis Schlak.6-Mar-09 4:08 
QuestionUTF-8 Not Displaying Unicode Pin
Tim Beck6-Mar-09 3:21
Tim Beck6-Mar-09 3:21 
AnswerRe: UTF-8 Not Displaying Unicode Pin
Curtis Schlak.6-Mar-09 4:05
Curtis Schlak.6-Mar-09 4:05 
AnswerRe: UTF-8 Not Displaying Unicode Pin
Guffa6-Mar-09 6:26
Guffa6-Mar-09 6:26 
Questionabout array and property Pin
clj198705036-Mar-09 2:59
clj198705036-Mar-09 2:59 
AnswerRe: about array and property Pin
musefan6-Mar-09 3:15
musefan6-Mar-09 3:15 
AnswerRe: about array and property Pin
Xmen Real 6-Mar-09 3:24
professional Xmen Real 6-Mar-09 3:24 
AnswerRe: about array and property Pin
clj198705036-Mar-09 3:58
clj198705036-Mar-09 3:58 
GeneralRe: about array and property Pin
musefan6-Mar-09 4:11
musefan6-Mar-09 4:11 
GeneralRe: about array and property PinPopular
Curtis Schlak.6-Mar-09 4:15
Curtis Schlak.6-Mar-09 4:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.