Hello,
I am using p/Invoke to access a card reader device's dll and
I am using a thread to emulate a assync call from a sync call.
Whe I want to read a card, I start a new thead that makes a blocking call
while my application can continue. When the card is read the thread finishes.
But when the operation is canceled I have to kill the thread and it doesn't die.
I've tried to use Abort(), Suspend() and to turn the thread a background thread but it doesn't work.
I thing the thread doesn't die because it's blocked waiting the card.
Is there a way to force this therad to die?
Can somebody helpe me?
--------------------------------
From: ns leonardo
--------------------------------
From: ns leonardo
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id>kOuw2cUUD0e6KgCxyvo2Mw==</Id>