[ rdesktop-Bugs-2897269 ] SCARD_E_UNSUPPORTED_FEATURE has a different value
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.network.rdesktop.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #2897269, was opened at 2009-11-13 15:44 Message generated for change (Tracker Item Submitted) made by ludov You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=381347&aid=2897269&group_id=24366 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Internals Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Ludovic Rousseau (ludov) Assigned to: Nobody/Anonymous (nobody) Summary: SCARD_E_UNSUPPORTED_FEATURE has a different value Initial Comment: SCARD_E_UNSUPPORTED_FEATURE has not the same value on Windows winscard and pcsc-lite Windows has: #define SCARD_E_UNSUPPORTED_FEATURE 0x80100022 #define SCARD_E_UNEXPECTED 0x8010001F pcsc-lite has: #define SCARD_E_UNSUPPORTED_FEATURE 0x8010001F #define SCARD_E_UNEXPECTED 0x8010001F Yes, the same value is used for two different names. This is an historic issue. pcsc-lite never returns SCARD_E_UNEXPECTED so when 0x8010001F is returned it is in fact SCARD_E_UNSUPPORTED_FEATURE. And this SCARD_E_UNSUPPORTED_FEATURE (0x8010001F) should be converted to a Windows SCARD_E_UNSUPPORTED_FEATURE (0x80100022) by rdekstop. Otherwise the Windows application will get a SCARD_E_UNEXPECTED (0x8010001F) when a SCARD_E_UNSUPPORTED_FEATURE is expected (0x80100022). I have no patch to provide. My previous patch (in bug 2864500) has not yet been committed so I do not plan to work on a patch for nothing. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=381347&aid=2897269&group_id=24366 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july