> [StructLayout(LayoutKind::Sequential)]
> public ref struct OutPacket{
[quoted text clipped - 11 lines]
> the error message is:
> Error 1 error C2065: 'MainInfo' : undeclared identifier
Try swapping the declarations. When you declare OutPacket, MainInfo is still
unknown because its declaration is placed after the declaration to
OutPacket.
Declaring MainInfo first takes care of that problem.

Signature
Kind regards,
Bruno van Dooren
bruno_nos_pam_van_dooren@hotmail.com
Remove only "_nos_pam"