I've written a threading program as a window form application in Visual Studio 2005.
It runs fine when run without debugging.
But when run with debugging it throws a cross thread exception.
I would like to have a solution for it.
Also i would like to know the difference between running an application with and without debug.
using
namespace
{
InitializeComponent();
}
i++;
Disp_tbx.Text = i.ToString();
ts =
th =
th.Start();
th.Abort();