SCARD_E_NOT_TRANSACTED

"Christophe FERRANDO" <[email protected]>
Newsgroups gmane.comp.lib.muscle
Message-ID <[email protected]>
Hi,

 

I currently use pcsc-lite version 1.8.15.

 

If i use these instructions (C Program)

 

               rv = SCardEstablishContext(SCARD_SCOPE_USER, NULL, NULL,
&hContext);

               CHECK("SCardEstablishContext", rv)

               rv = SCardConnect(hContext,"My Drive",

                         SCARD_SHARE_EXCLUSIVE,SCARD_PROTOCOL_T0, &hCard,
&dwActiveProtocol);

               CHECK("SCardConnect", rv);

               rv = SCardEndTransaction(hCard,SCARD_LEAVE_CARD);

               CHECK("SCardEndTransaction", rv);

               rv = SCardDisconnect(hCard, SCARD_LEAVE_CARD);

               CHECK("SCardDisconnect", rv)

               rv = SCardReleaseContext(hContext);

               CHECK("SCardReleaseContext", rv)

 

I have no errors.

 

I expected SCARD_E_NOT_TRANSACTED because i call ScardEndTransaction without
a previous call to ScardBeginTransaction.

But the result of SCardEndTransaction is E_SUCCESS.

 

Any ideas,

 

Sincerly,

Christophe FERRANDO

_______________________________________________
Pcsclite-muscle mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.