I don't know, I haven't done any perf testing.
I think this is a runtime bug, but I can't remember the exact details.
It seems to work correctly in Whidbey though.
But for parameters, since the unsigned char still occupies 32 bits on
the stack, I believe you might as well use the default marshaling and
leave out marshal(int8).
Mattias Sjren [MVP] mattias @ mvps.org
Please reply only to the newsgroup.