I
iz111
Guest
Hi,
I need to write C# client application which needs to send the structure over pipe. The server appliacation is writen in C++.
The structure I need to send looks like this in C++:
struct SomeData
{
wchar_t name1[30];
wchar_t name2[256];
__int32 pid;
VIDEOINFOHEADER vih;
};
What would be the proper way to marshal this structure?
Note that VIDEOINFOHEADER can be replaced with some fixed bytes of same length.
Thanks!
Continue reading...
I need to write C# client application which needs to send the structure over pipe. The server appliacation is writen in C++.
The structure I need to send looks like this in C++:
struct SomeData
{
wchar_t name1[30];
wchar_t name2[256];
__int32 pid;
VIDEOINFOHEADER vih;
};
What would be the proper way to marshal this structure?
Note that VIDEOINFOHEADER can be replaced with some fixed bytes of same length.
Thanks!
Continue reading...