Sign in
|
Join
|
Help
Search
ÎÜñ|‹ø\/\/ñ [ÐëÞrëçã†ëð]'s Blog
Amit Bahree's insight into stuff...
Home
Contact
About
RSS
Atom
Comments RSS
Recent Posts
On Security
PDC Sessions
Got my Azure accounts Provisioned
EC2 for Windows now available
PDC’ing
Tags
.architecture
.azure
.books
.desh
.drool
.food
.geek
.google
.indigo
.links
.live and learn
.lol
.media center
.microsoft
.misc
.mobile
.ms.future
.ms.net
.ms.net.fundas
.ms.net.tips
.ms.net.web
.NET
.opensource
.personal
.sandbox
.security
.sqlserver
.whs
.win.fx
Architecture
Food
Longhorn and Whidbey
News
And God said "Let there be light". But then the program crashed because he was trying to access the 'light' property of a NULL universe pointer.
Navigation
Home
Blogs
blog roll
Karanbir Singh - Thinkability
Blame India Watch
Meenakshi's Thoughts
Mohammed Jeelani
Yet another blog somewhere
calendar
Amit & Meenakshi (ical)
Amit & Meenakshi (xml)
Amit & Meenakshi (html)
intersting finds
Jargon File
This is broken
DVD Hacks
Lorem Ipsum
News of the Weird
Google Graph
Celestia
Touchgraph
Comics
reading
Beyond Software Architecture
Patterns of Application Architecture
Whats with the funny name?
techy finds
C# Tutorial
MD5 Online Cracking
SOA
MS Product Feedback
Connection Strings
Pocket PC Dev. Network
Enterprise Solution Patterns
Cool Freeware Utils
Public DNS
Sandbox
Algorithms + Data Structures
WinFX SDK
Google Maps Mania
Archives
November 2008 (2)
October 2008 (7)
September 2008 (14)
August 2008 (1)
July 2008 (5)
June 2008 (9)
May 2008 (7)
April 2008 (2)
March 2008 (7)
February 2008 (3)
January 2008 (19)
December 2007 (5)
November 2007 (5)
October 2007 (1)
September 2007 (13)
August 2007 (19)
July 2007 (13)
June 2007 (22)
May 2007 (25)
April 2007 (8)
March 2007 (9)
February 2007 (4)
January 2007 (16)
December 2006 (16)
November 2006 (18)
October 2006 (29)
September 2006 (24)
August 2006 (37)
July 2006 (14)
June 2006 (9)
May 2006 (5)
April 2006 (10)
March 2006 (10)
February 2006 (5)
January 2006 (11)
December 2005 (44)
November 2005 (11)
October 2005 (9)
September 2005 (21)
August 2005 (5)
July 2005 (27)
June 2005 (31)
May 2005 (16)
April 2005 (33)
March 2005 (37)
February 2005 (21)
January 2005 (29)
December 2004 (33)
November 2004 (12)
October 2004 (21)
September 2004 (22)
August 2004 (7)
July 2004 (40)
June 2004 (25)
May 2004 (27)
April 2004 (38)
March 2004 (9)
Forms, threading and Frustration
In Visual Studio 2005, if you have a windows form and have a fair amount of threading going then that things can get pretty frustrating. As you know, because of the way that Windows handles its user interface, you should only be updating the user interface from the main thread. If you try to do it on other threads, bad things happen, and they can be pretty hard to track down. Windows forms includes some code to detect when that is happening, but it can't do it in all cases. When you get in this situation, you need to call Invoke() on the form, and pass it a delegate to the function that you want to be called on the main thread. Eric discusses this in
detail
which is a recommended read if you play with a lot of threads on your Win Forms.
Posted:
Jul 26 2004, 11:08 PM
by
Amit Bahree
| with
no comments
Filed under:
.ms.future
,
.ms.net.tips
Comments
No Comments