The MSCListTokens() obtains the various plist attributes from
the host-side xml configuration database, using a utility function. However, it
only passes some of the attributes through to the
MSCLPTokenInfo array elements. In particular, it
doesnt pass the default aid of the slot/token into
the current session handle - a value which is assumed
later in MSCEstablishConnection(), at least when called
by muscleTool's doConnect().
Peter.
-----------
MSC_RV MSCListTokens(MSCULong32 listScope, MSCLPTokenInfo tokenArray, MSCPULong32 arrayLength) { MSCLong32 rv; SCARD_READERSTATE_A rgReaderStates; MSCTokenInfo tokenInfo; MSCLPTokenInfo currentToken; ... }
MSCEstablishConnection() ...
if ((applicationName == 0) || (nameSize == 0))
{
/*
* Use the default AID given by the Info.plist
*/rv = (*libPL_MSCIdentifyToken) (pConnection);
_________________________________________________________________
Great deals on high-speed Internet access as low as $26.95. https://broadband.msn.com (Prices may vary by service area.)
_______________________________________________ Muscle mailing list [EMAIL PROTECTED] http://lists.musclecard.com/mailman/listinfo/muscle
