Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

scard_w_unresponsive_card

828 views
Skip to first unread message

steve hutch

unread,
Jun 9, 2008, 3:13:01 PM6/9/08
to
Can someone please help.
I have a smart card reader application.
The driver has been integrated into Windows CE 5.0.
The smart card Reader is a EZ100PU usb smart card reader.
The smart card reader comes with some test software which when compiled and
run for Windows CE 5.0 gives the following error .

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


0 new messages