Mapped c++ struct to c# struct
问题 I am having trouble mapping the following c++ struct in c# for memory mapping purposes. typedef struct { DWORD Data1; DWORD Data2; double AverageData[2]; DWORD NumData[2]; } DIRECTIONAL_STATS; typedef struct { DIRECTIONAL_STATS DirectionStats[2]; char Name[100]; int StatLength; } OTHER_STATS; typedef struct { OTHER_STATS SystemStat[64][2]; long LastUpdate; }STATS; Can someone please shed some lights on how to achieve the mapping? Mapping from c++ type to c# type is fine for me. However, I don