On 7/27/2010 4:18 AM, Ludovic Rousseau wrote:
2010/7/27 Roger Brown<[email protected]>:
Yes, it does work in effect, at the end of the day to avoid breaking binary 
compatibility you either need to rebuild a new version of pcsclite with the 
correct DWORD, or else fool somebody.

So you confirm that it _does_ break the binary compatibility.

I will have to release a new libpcsclite.so.2 (note the .2 here) with
the new ABI (Application Binary Interface).

libpcsclite.so.1 and libpcsclite.so.2 could work together on the same
system and still using the same pcscd (the protocol between
libpcsclite and pcscd does use only uint32_t types).

Then client coding is as follows:

/************************************************************************/
                WINSCARD_DWORD cchGroups=0;

                hr=SCardListReaderGroups(self->device->ctx,NULL,&cchGroups);
/************************************************************************/

That is a break of the API (Application Programming Interface).
The application now has to use WINSCARD_DWORD instead of DWORD.

I don't think that is desirable.

Comments from others?

He may have a point. But this discussion also brings up the issue of
using a single pcscd with both 32 and 64 bit applications.

Can one run the 32 bit (or 64 bit) pcscd, but have both a 32 and 64
bit versions of libpcsclite.so for the applications?



Regards,


--

 Douglas E. Engert  <[email protected]>
 Argonne National Laboratory
 9700 South Cass Avenue
 Argonne, Illinois  60439
 (630) 252-5444
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to