Patrick,
Generally speaking, that will be marshaled as a byte array, or as a
string.
However, if you are passing the buffer to be written to, and it is a
string, then you will have to pass a stringbuilder and not a string.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Patrick" <pa*****@hotmail.com> wrote in message
news:eQ**************@tk2msftngp13.phx.gbl...
Anyone have any ideas on how to Marshal this parameter in C#?
unsigned char* buf
TIA,
Patrick