systemfailur / aforge

Automatically exported from code.google.com/p/aforge
0 stars 0 forks source link

Your code is not Thread-safe. #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compile and run the Time Series example with Visual Studio 2005.
2. You will get the run-time error: "Cross-thread operation not valid: 
Control 'currentIterationBox' accessed from a thread other than the thread 
it was created on."

Under VS 2005 you cannot run code that is not thread safe.
See: http://msdn2.microsoft.com/en-us/library/ms171728.aspx for more 
details.

What version of the product are you using? On what operating system?
Windows XP, Visual Studio 2005.

Original issue reported on code.google.com by CBra...@CypressPoint.com on 29 Dec 2006 at 10:16

Attachments:

GoogleCodeExporter commented 9 years ago
Yes, it is true. The code was written under .NET 1.0 and then under 1.1, so it 
was 
not designed for .NET 2.0 initially. The transition to .NET 2.0 is already in 
the 
progress, so soon it will be finished.

Original comment by andrew.k...@gmail.com on 8 Feb 2007 at 8:46

GoogleCodeExporter commented 9 years ago

Original comment by andrew.k...@gmail.com on 13 Feb 2007 at 9:03

GoogleCodeExporter commented 9 years ago
All samples were updated to VS.NET 2005 and thread safery was added.

Original comment by andrew.k...@gmail.com on 23 Feb 2007 at 7:27

GoogleCodeExporter commented 9 years ago

Original comment by andrew.k...@gmail.com on 26 Aug 2007 at 6:34

GoogleCodeExporter commented 9 years ago

Original comment by andrew.k...@gmail.com on 19 May 2008 at 6:08