Ok. I have been reading for a while, trying to guess what is happening and found the following on msdn:
http://msdn.microsoft.com/en-us/library/aa379477%28v=vs.85%29.aspx "SCARD_W_RESET_CARD 0x80100068L The transaction was released. Any future communication with the card requires a call to the SCardReconnect function. (Windows 7 not included below, but it also happend to me) Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP, and Windows 2000: The transaction was not released. The application must immediately call the SCardDisconnect, SCardReconnect, or SCardReleaseContext function to avoid an existing transaction blocking other threads and processes from communicating with the smart card." Correct me if im wrong: does this means M$ sucks, and after doing a SCardEndTransaction which returns SCARD_W_RESET_CARD i have to do a SCardReconnect or other process and threads will block? Does PCSCLite have the same behaviour? Thanks a lot again! _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
