How to Connect two Smart Card Reader simultaneous with 2 Application

你离开我真会死。 提交于 2019-12-08 11:35:26

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!