Hi, 
I'm trying to use GPKCardService with a gemsafe card. In my program, when I
obtained my GPKFileUtilityService and a CardFilePath for the root, I want to
use the GPKFileUtilityService.dir(CardFilePath). 
I receive this message : 

opencard.core.terminal.CardTerminalException: Pcsc10CardTerminal: PCSC
Exception in method SCardTransmit: error occurred with SCardTransmit 
return code = 00000057 

at
com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal.translatePcscException(P
csc10CardTerminal.java:502) 
at
com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal.internalSendAPDU(Pcsc10C
ardTerminal.java:439) 
at opencard.core.terminal.CardTerminal.sendAPDU(CardTerminal.java:494) 
at opencard.core.terminal.SlotChannel.sendAPDU(SlotChannel.java:115) 
at opencard.core.service.CardChannel.sendCommandAPDU(CardChannel.java:222) 
at
com.gemplus.opencard.service.gpk.access.GPKCardAccessor.internalSendCommandA
PDU(GPKCardAccessor.java:581) 
at
com.gemplus.opencard.service.gpk.access.GPKCardAccessor.selectFile(GPKCardAc
cessor.java:474) 
at
com.gemplus.opencard.service.gpk.file.GPKFileAccessService.exists(GPKFileAcc
essService.java:164) 
at ReadFile.main(ReadFile.java:47) 
at symantec.tools.debug.Agent.runMain(Native Method) 
at symantec.tools.debug.MainThread.run(Agent.java:48) 

I've read that the error code 57 is due to an INVALID_PARAMETER. 
What do I have to do? 



---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/

! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
!                           [EMAIL PROTECTED]
! containing the word
!                           unsubscribe 
! in the body.

Reply via email to