A
Andrea Valori
Hi everyone,
I've a problem with a .NET VisualBasic 2005 Windows Form application. My app
uses the Bluetooth to sends messages to mobile devices in its BT coverage
area; for every device founded, its create a managed thread which takes care
of the communication between the mobile device and my app. If I try to end my
application while some thread is alive (please note that I call a
thread.abort for every alive thread before end) sometimes my app hangs up
because some thread remains alive regardless the thread.abort call ( I know
that this method closes the thread only if it is in a safe point for the
framework). Any idea to force the end of the app regardless that threads?
Thanks in advance, Andrea Valori.
I've a problem with a .NET VisualBasic 2005 Windows Form application. My app
uses the Bluetooth to sends messages to mobile devices in its BT coverage
area; for every device founded, its create a managed thread which takes care
of the communication between the mobile device and my app. If I try to end my
application while some thread is alive (please note that I call a
thread.abort for every alive thread before end) sometimes my app hangs up
because some thread remains alive regardless the thread.abort call ( I know
that this method closes the thread only if it is in a safe point for the
framework). Any idea to force the end of the app regardless that threads?
Thanks in advance, Andrea Valori.