Hi, MSCWriteObject now takes the string type. MSCWriteObject(pConnection, "A1", ....);
will work. You may use MSCGetCapabilities to find the maximum size of an object ID. On some cards, for example you might support larger file ID's. Dave On Thu, 4 Apr 2002, Piotr Gorak wrote: > Hello, > > A long time ago I used cryptoflex plugin in its older version. There was no > types like MSCString, for example. Now, when I try to do something like > this: > > char fileID[2]; > fileID[0] = 0x13; > fileID[1] = 0x13; > WriteObject(pConn, fileID, 0, buf, len); > > ... I get Invalid parameter. This is because of idToString check at the > beginning of WriteObject. What is the correct manner of passing object IDs > now? > > Thanks, > > Peter > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. > > *************************************************************** > Unix Smart Card Developers - M.U.S.C.L.E. > (Movement for the Use of Smart Cards in a Linux Environment) > http://www.linuxnet.com/ > To unsubscribe send an email to [EMAIL PROTECTED] with > unsubscribe sclinux > *************************************************************** > *************************************************************** Unix Smart Card Developers - M.U.S.C.L.E. (Movement for the Use of Smart Cards in a Linux Environment) http://www.linuxnet.com/ To unsubscribe send an email to [EMAIL PROTECTED] with unsubscribe sclinux ***************************************************************
