Re: Threading question
Tech-Archive recommends: Fix windows errors by optimizing your registry
"Scott Simons" <Scott.Simons.At.MealMagic.Com.Remove.This> wrote in message
news:1610C940-BE43-41BC-A905-EA8820538E0D@xxxxxxxxxxxxxxxx
> Is it safe to create a form in a worker thread and then have the UI thread
> display and take control of it? I would think that this would not be
> safe.
> However, .net 2.0 does not give me a cross threading error and it works
> consistently with all of my forms except for one.
Cross-threading probes are only active in debug mode.
Willy.
.
Relevant Pages
- Re: how can ATL ActiveX control driver a script progress bar by event in real-time
... > display in real-time, it appeared ... I bet your control is doing something in a tight loop, ... worker thread - but see http://www.mvps.org/vcfaq/com/1.htm first. ... "For every complex problem, there is a solution that is simple, neat, ... (microsoft.public.vc.atl) - Re: Thread Synchronization
... My display is jumpy; I think it's because during a paint, ... >worker thread is changing data in the data structure that both OnPaint(), ... you don't have much control over that. ... (microsoft.public.vc.mfc) - Re: Thanks Rog and Karen!!
... brings a bar type object from wherever they live to display it would ... No safe keeping required. ... We know it is hard to control a bunch ... (rec.motorcycles.harley) - Re: Thanks Rog and Karen!!
... brings a bar type object from wherever they live to display it would ... No safe keeping required. ... We know it is hard to control a bunch of ... (rec.motorcycles.harley) - Is this safe
... I have a worker thread that may need to display a dialog for the user. ... safe for the worker thread to invoke the form's constructor and then pass ... Can someone confirm this is safe. ... (microsoft.public.dotnet.languages.csharp) |
|