Hi,

On Samstag 18 Juni 2011, Frank Engler wrote:
[...]
> But SCardListReaders() does not require cl->scardContext being a valid
> context. E.g. geldkarte call LC_Client_Init() and LC_Client_free()
> before calling LC_Client_Start(). So I suppose, the context has already
> gone before looking for readers.
[...]

Could you please be more specific? Looking at the sources of the tool 
"geldkarte" I don't see the sequence you describe...

In main.c LC_Client_new() and LC_Client_Init() are called.

Later LC_Client_Start() is called followed by LC_Client_GetNextCard(). It is 
only back in main() that LC_Client_free() is called, so there is a valid 
context upon LC_Client_Start()...


Regards
Martin



-- 
"Things are only impossible until they're not"

Martin Preuss - http://www2.aquamaniac.de/
AqBanking - http://www.aqbanking.de/
LibChipcard - http://www.libchipcard.de/



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to