Parent Directory | Revision Log
free memory only if it allocated. The test was reversed. Thanks to Vincent Fiack for the patch.
use "Compiled with PC/SC lite version" to make it clear it is NOT the installed version of pcsc-lite
use C comment /* */ instead of C++ comments //
LPSTR -> LPTSTR
use a dynamic table for readers to avoid any use of the deprecated PCSCLITE_MAX_CHANNELS constant
add support of PCSC MacOS X framework
detect reader insertion/removal (USB) and adjust the reader list accordingly
cleanly exit if all readers are removed
add #include <string.h>
add support for ATR_analysis
Readers states are initialized with SCARD_STATE_UNAWARE to make sure the first query will update the state to something we know. Modified the event loop to monitor all readers at once. SCARD_STATE_CHANGED is used to detect which reader triggered the event.
Added comments and modified the event listener to listen to all readers at once... This demonstrates the possibility to use a list of readers to listen events to...
change PCSC to PC/SC
set the wait time to 0 to get all the events
go to the next reader _after_ printing information for the current oone
commented number of allocated readers (wrong info?)
Created directory structure
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
|Powered by ViewVC 1.1.5|