Ludovic Rousseau wrote on 08/15/06 10:15 AM:
On 15/08/06, Iain MacDonnell <[EMAIL PROTECTED]> wrote:
Ludovic Rousseau wrote on 08/15/06 02:35 AM:
> The compiler does not like the declaration "BYTE data[0];".
Yeah. What is that supposed to represent? Not sure how useful it is
to have a pointer to a fixed nothing :)
This structure is in fact inside a bigger memory buffer. I just needed
a name to manipulate the bytes in data[].
Wouldn't "BYTE *data" do, then?
I agree this construction is exotic but I didn't want to completely
change the way pcscd and libpcsclite talk to each-other for backward
compatibility issues.
> Try with "BYTE data[1];" instead and tell me if the execution is
> correct (it should be).
Well, it compiles OK - not sure what I need to do to exercise the
new code, though... ?
You will need to send or receive an extended APDU. I guess you have no
cards supporting this. I will try with my cards.
The "newest" cards I have are Oberthur Cosmo V5.2 and Ax^H^HGemalto
Cyberflex Access V2c... but I'm not sure what extended APDUs to send /
results to expect.
~Iain
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle