vb.net thread problem
-
Hi all, I have a problem using multithread application with vb.net . I am opening a thread ,inside that thread i am calling third party DLL function . but that function internally opening child threads . whenever I am aborting the main thread , child thread is not aborting . is that any function to close the main as well as child thread. Jaseem Emirates group email: tc02142@emirates.com
-
Hi all, I have a problem using multithread application with vb.net . I am opening a thread ,inside that thread i am calling third party DLL function . but that function internally opening child threads . whenever I am aborting the main thread , child thread is not aborting . is that any function to close the main as well as child thread. Jaseem Emirates group email: tc02142@emirates.com
-
Hi all, I have a problem using multithread application with vb.net . I am opening a thread ,inside that thread i am calling third party DLL function . but that function internally opening child threads . whenever I am aborting the main thread , child thread is not aborting . is that any function to close the main as well as child thread. Jaseem Emirates group email: tc02142@emirates.com
Are you sure the DLL is spawning
threads
? If that were the case, destroying the main thread should kill all other threads created by it. Most likely the DLL is spawning a newprocess
which runs independently of your main code and hence it will not terminate when your main thread terminates. In this case you'll need to manually kill the spawned processes as already described in the previous post....Steve
1. quod erat demonstrandum 2. "Give a man a fish and you've fed him for a day. Teach him how to fish and you've fed him for life." I read that somewhere once :-) -- modified at 19:21 Tuesday 20th June, 2006