If you call SCardEstablishContext from one application thread and then pass 
the handle off to another thread which will later call SCardReleaseContext on 
it, the release will fail.  The implementation explicitly checks to see that 
the releasing thread is the same as the establishing thread.  Is that 
important for some reason?  I can see how programmers could cause themselves 
problems by sharing handles around, but it you're careful it can be done 
safely, and it can be useful.

Thanks,

        Shawn.

Attachment: pgphba6RHk3A7.pgp
Description: PGP signature

_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to