问题
I'm writting app use function SCardConnect() in lib winscard.h If run 2 app it only can Connect to one Reader 0 (Ex have 2 Reader 0 and Reader 1) How do connect to 2 Readers simultaneous?
回答1:
A while ago I did something similar (lib with no instance handle), the solution was: Spawn a process for each reader. Use IPC to sync (shared memory, TCP/UDP loopback, pipes...)
来源:https://stackoverflow.com/questions/33384708/how-to-connect-two-smart-card-reader-simultaneous-with-2-application