Creating an array inside a struct
Managed C++/CLI
1
Posts
1
Posters
0
Views
1
Watching
-
Hello all! In order to send a structure with the SerialPort Without using the serialization methods, I was needed to create a union that contains a struct and a byte array, both with offset 0. I can’t seem to find a way to create an array inside a managed struct (managed union). The problem is that the SerialPort->Write(…) function wont take an unmanaged array as the input.:mad: Can anyone help?:confused: