On 19/03/07, matheus ribeiro <[EMAIL PROTECTED]> wrote:
Hello list,
Hello,
suppose the following situation: between PCSC calls, someone removes a card and inserts it again. We have 2 different scenarions here for SCardGetStatusChange answer: - Linux: no change detected. - Windows: change is detected. SCardGetStatusChange sometimes return SCARD_STATE_EMPTY and other times return SCARD_STATE_PRESENT. But, the change is detected, which is better than no change... Also, Windows version returns SCARD_E_TIMEOUT if no change is detected, while Linux never returns it. It seems Windows keep a event counter at this dwEventState flag. Upper bytes increment for each event that occurs (this is not documented, but can be seen if you print that variable). With this counter, it seems possible to keep track of event changes... So, is this a known issue?
Can you send me your test program so I can check what is wrong in the Linux case? Thanks -- Dr. Ludovic Rousseau _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
