
Signature
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
That's just the trick - many thanks ! There's a general lesson for me here
: always use the System::XXX types in the argument lists, instead of the
native C++ types ? I'd been under the impression that 'unsigned char' was
absolutely equivalent to 'System::Byte', but clearly they aren't the same
...
Best regards,
Steve.
> Steve,
>
[quoted text clipped - 9 lines]
>
> Mattias
Mattias Sj?gren - 17 Jan 2004 12:54 GMT
Steve,
>There's a general lesson for me here
>:always use the System::XXX types in the argument lists, instead of the
>native C++ types ?
That, or remember to use the __gc keyword when needed.
Mattias

Signature
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.