skip to main
|
skip to sidebar
TotO's way.
Thursday, May 20, 2010
Error using WaitHandle.WaitAll() in STA thread.
REF:http://social.msdn.microsoft.com/forums/en-US/netfxbcl/thread/eefc0160-987c-47e1-a41b-bbae96726ec4/
If you don't need to run in STA, you can decorate Main with:
C#: [MTAThreadAttribute()]
VB:
and then use WaitHandle.WaitAll(your_WaitHandle_array) as originally intended.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Labels
C#
(4)
WordPress
(5)
Blog Archive
►
2011
(3)
►
April
(2)
►
March
(1)
▼
2010
(5)
►
October
(2)
►
June
(1)
▼
May
(2)
Error using WaitHandle.WaitAll() in STA thread.
Changing the UserAgent of the WebBrowser control -...
►
2009
(12)
►
December
(7)
►
January
(5)
►
2008
(3)
►
November
(1)
►
September
(2)
No comments:
Post a Comment