Hi all,
I want to use the SendMessage with my own message command
to send data to another application. In the specific case 
a string array should be sent to the receiving appilcation. 
But how can I do that?
The idea is to serialize the string array to a MemoryStream 
to get a byte array from it. And then I use a pointer to that 
byte array for use with SendMessage.
To use pointers in C# I have to work with an unsafe code block 
but how can I declare an unmanaged byte array in the unsafe 
code block?

Regards,

Jan Dropczynski
Software-Engineer
THONA Consulting Ltd.
 

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to