G
Guest
I recently had to use someone's struct from a native app to receive data over
Udp. The struct has a array member which looked like this:
struct sensorHdr{
char sName[64];
};
When I tried to make this a managed struct by adding either the value struct
or ref struct I received a compile error stating that mixed types are not
supported. I understand this, but I don't know how to create a char array in
a C++/CLI struct using the array<Byte>(64) format.
Thanks
Nick
Udp. The struct has a array member which looked like this:
struct sensorHdr{
char sName[64];
};
When I tried to make this a managed struct by adding either the value struct
or ref struct I received a compile error stating that mixed types are not
supported. I understand this, but I don't know how to create a char array in
a C++/CLI struct using the array<Byte>(64) format.
Thanks
Nick