Hello,
On Jan 31, 2011, at 10:18 PM, Andreas Jellinghaus wrote:

> Am Montag 31 Januar 2011, um 10:35:47 schrieb Ludovic Rousseau:
>> I don't know if it is possible to specify a PPS.
>> It is not possible to do that using pcsc-lite unless the driver has
>> support for it.
> 
> ok, thanks for the advice! more reason to return cards with broken
> atr to the manufacturer :)
I could not agree more ;)


> So today I once saw (on windows) a api call to SCardTransmit return some
> non 0 but also non error (i.e. not 0x8???????) value, and wonder what the
> right treatment would be. will investigate this issue tomorrow in detail,
> maybe I can find out what is going on. 

You can get "generic" Windows API return codes as well, stuff that means (after 
Googling) something along the lines of "dll inconsistency runtime check 
failure" (read: makes little sense unless you're a Windows kernel developer or 
similar).
But you should be already screwed if you get stuff like that, maybe some 
Windows "error to string" function can give you a better description of the 
failure than "general failure". I've seen a bunch of such errors, mostly on 
more exotic Vistas and with otherwise strange readers and strange drivers and 
often not easily repeatable. 


> but maybe you or someone here knows about this already and can give me
> advice? in pcsclite.h I don't see this notion of different error/warn/...
> levels, only 0x0 (ok) and a list of 0x8...... errors (the usual stuff
> from windows).

pcsc-lite is not Windows :)

-- 
@MartinPaljak.net
+3725156495

_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to