As far as I know, you shouldn't be trying to call openSlotChannel()
yourself.
You should be writing to the Terminal inside your CardService.  (one that
you write)
Otherwise, you should be using the Passthrough Card Service.  This allows
you to send APDUs to the card.

T

"Jes�s Penuela Melero" <[EMAIL PROTECTED]> wrote in message
000901bfe68f$f5929780$[EMAIL PROTECTED]">news:000901bfe68f$f5929780$[EMAIL PROTECTED]...
> Hello,
> When I call to openSlotChannel() I always obtain the exception:
"SlotChannel
> already allocated".
> I have obtained  the CardTerminal from the CardTerminalRegistry , and what
I
> want is to send an APDU to the smartcard.
> How can I access this SlotChannel?
>
> What I did, is the following:
> I started by SmartCard.start(),
> then I used the WaitForCard() ,
> after that ,I obtained the CardTerminal object from the Registry as I
> explained before
> and finally I called to  ct.sendAPDU(ct.openSlotChannel(0),capdu);
>
>
> Thanks in advance
>
>
>




---
> 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