R
Ryu
Hi, I tried to kill a thread by using the following:
Thread t = Thread.CurrentThread;
try
{
t.Abort();
t.Join()
}
catch(ThreadAbortException)
{
}
Everything when I execute from VS.NET 2003, the thread will be aborted
successfully. However when I tried to execute the program by itself, it will
always ask me to start a new instance of VS.NET. What did I do wrong?
Thread t = Thread.CurrentThread;
try
{
t.Abort();
t.Join()
}
catch(ThreadAbortException)
{
}
Everything when I execute from VS.NET 2003, the thread will be aborted
successfully. However when I tried to execute the program by itself, it will
always ask me to start a new instance of VS.NET. What did I do wrong?