Hi
I have implemented a scardtransmit function to send a APDU command but its giving error 14. i
dnt don't
knw know
wat what
dat that means ...code is:-
all the previous functions like scardestablish context n scardconnect are working fine.
i
dnt don't
knw know the error....
pls please help..
DWORD dwActiveProtocol, dwSendLength, dwRecvLength;
SCARD_IO_REQUEST pioRecvPci;
BYTE pbRecvBuffer[256];
BYTE pbSendBuffer[] = { (BYTE)0x60,(BYTE) 0x00,(BYTE) 0x02, (BYTE)0x6C, (BYTE)0x35, (BYTE)0x3B, (BYTE)0x03 };
dwSendLength = sizeof(pbSendBuffer);
dwRecvLength = sizeof(pbRecvBuffer);
long result =com(phCard, 0, pbSendBuffer, dwSendLength,&pioRecvPci, pbRecvBuffer, &dwRecvLength);
if(result!=SCARD_S_SUCCESS){
cout<<"unable to transmit the command\n";
}
if i remove the (BYTE) from pbSendBuffer then the error is 22...
help...