The software stack is as follows: OCF java code: OCF native DLL: OCFPCSC1.DLL MS generic smartcard support: WINSCARD.DLL READER specific PCSC Driver DLL Error 57 is not a return code specified by the PCSC I/F definition and thus the semantic can not be explained without debugging the problem. The error is returned from the READER specific PCSC Driver, probably as a result of a Microsoft system call that this reader is using. winerror.h defines // // MessageId: ERROR_ADAP_HDW_ERR // // MessageText: // // A network adapter hardware error occurred. // #define ERROR_ADAP_HDW_ERR 57L Don't know if this helps, but that's the only thing I can tell you. Peter Bendel, Smartcard Solutions, Tel.: +49-7031-16-4650, Fax -4888 Dept. 4969, Bldg. 7103-01, Room 01-109 Lotus Notes: bed@ibmde IBM Pervasive Computing Division Internet: [EMAIL PROTECTED] Please visit the OpenCard Framework's homepage at http://www.opencard.org [EMAIL PROTECTED] on 06.12.99 01:59:23 Please respond to Mondex SST <[EMAIL PROTECTED]> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> cc: (bcc: Peter Bendel/Germany/IBM) Subject: [OCF] OCF - PC/SC SCardTransmit error Dear sir/madam, We have a very urgent problem. When we are trying to perform a transaction in the Mondex card, OCF returned the following error (last line): smartcard started. card request instantiated. MondexPurseCardService obtained. APDU = APDU_Buffer = 8024000005 (hex) | lc = 0 | le = 5 APDU = APDU_Buffer = 8022000060 (hex) | lc = 0 | le = 96 Register Mondex ID:5894520100524854 APDU = APDU_Buffer = 8054000033 (hex) | lc = 0 | le = 51 Payment register PID:5894520100524854 Pocket: APDU = APDU_Buffer = 802A000024 (hex) | lc = 0 | le = 36 2664 APDU = APDU_Buffer = 805200004400000000000001484B4407CF0B0312090B589452010052480041203331313220434F4E53554D31F0010000000000000000385445535420534348454D45203220200101B5C2 (hex) | lc = 68 | le = 194 Pcsc10CardTerminal: PCSC Exception in method SCardTransmit: error occurred with SCardTransmit return code = 00000057 What is the meaning of this SCardTransmit (PC/SC 00000057) error? We found that: 1. Sending other commands to the Mondex card has no problems (like the first 4 APDUs); 2. For the problematic APDU, sending it using PC/SC with Visual Basic has no problem. Is it the problem between the interface of PC/SC and OCF? Yours Cheung Ming Kee Self-Service and Mondex System Development TSV HSBC --- > 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. --- > 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.
