Hello,

Brian McGuiness wrote:
> I'm having a problem in that the OCF card registry tells me that I
> have four terminals available when I only have two connected to my
> machine.
> [...]
> I'm accessing both terminals via the IBM PCSC10 terminal class and
> using the standard PCSC opencard.properties files.

The IBM PC/SC wrapper actually uses "SCardListReaders" in order
to get the list of known terminals directly from the PC/SC
Resource Manager and create CardTerminal objects corresponding
to them.

So either the way of using this function is buggy (which I doubt
because it seems to work for other people), or your Resource Manager
already list your two terminals twice! Could you check that with a
C-based tool that also accesses the PC/SC Resource Manager ?

Otherwise, the "SCardListReaders" function is used in file:
com/ibm/opencard/terminal/pcsc10/OCFPCSC1.cpp (in the C function
implementing the CardTerminalFactory's "ListReaders()" method).
If you would like to trace what's done.

Cheers,
Christophe.

 = "The operation is relatively safe, the scientists said. It has =
 = been tried on about 30 dogs. Five of them are alive and well." =
 =           -- (Washington Post)                                 =
--
-------------------------------------------------------------
[EMAIL PROTECTED] - Gemplus Research Lab
Phone: +33 4-42-36-57-83 | Disclaimer: I don't speak for Gemplus
Gemplus doesn't speak for me... it is better that way!
-------------------------------------------------------------


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