Hi. The way you're supposed to use threads and SCardGetStatusChange differs in Windows and Linux. I hope this thread is useful to you:
http://archives.neohapsis.com/archives/dev/muscle/2009-q4/0096.html On 06.01.2010, at 13:35, Caden.smith Smith wrote: > Hello, > > I am developing a Java Applet that uses smartcards. > > This Applet works very well in Windows but the block methods > (waitingforcardpresent/absent) fail in Linux when there id more then one > reader present in the system (Since I lunch a thread for each reader) > > I posted this problem in the Sun forums and was advised to post it in this > list also because the problem may be at the PCSCLite daemon level. > > The post is in http://forums.sun.com/thread.jspa?threadID=5422519&tstart=0 > along with two normal and small Java Class's (not Applet) that reproduce the > problem. > > Is this really a PCSCLite bug? Can I expect a patch or should I proceed with > a different approach in terminal handling? > > I am currently writing in Windows, I do not remember witch version of > PCSCLite I have in my Linux system, but using Ubuntu 9.10 fully updated in > all packages. > > Ty > Cad > _______________________________________________ > Muscle mailing list > [email protected] > http://lists.drizzle.com/mailman/listinfo/muscle -- Martin Paljak http://martin.paljak.pri.ee +372.515.6495 _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
