810485 0x85549488: SCARD:(EZU1:) PowerUpCard COLD_RESET failed 1f
930584 0x85549488: SCARD:(EZU1:) PowerUpCard COLD_RESET failed 1f
1050597 0x85549488: SCARD:(EZU1:) PowerUpCard COLD_RESET failed 1f
1050597 0x85549488: SCARD[ConnectCard](EZU1:):PowerUpCard failed with 80100066
1050597 0x85549488: SCARD[SCARD_CONTEXT_OBJ::CreateConnection]: ConnectCard
Failed 0x80100066
1050599 0x85549488: SCARD:SCardConnectW Unable to create NewScardHandle
-2146434970
I've looked up error 0x80100066 and this means
scard_w_unresponsive_card
Any ideas why this is happening?
I've linked my application to the winscard.lib in platform builder for CE
5.0 ( patched for Yearly updates till end of 2007 ).
I notice that another user group mentions that this could be due to the card
name not being correctly specified in the SCardConnect function.
Unfortunately i notice that the API for this function only takes 6
parameters, the card name not being one of them. Any thoughts will be really
appreciated.
See code snip below..
result = SCardConnect( ScardContext,
ScardReaderState[CurrentReader].szReader,
SCARD_SHARE_EXCLUSIVE,
SCARD_PROTOCOL_T0 | SCARD_PROTOCOL_T1,
&ScardHandle[CurrentReader],
&ScardProtocol[CurrentReader]);
Thanks
SteveHutch