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[].

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.

Bye,

--
 Dr. Ludovic Rousseau
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to