Réponse acceptée !
Salut, il ne me semble pas possible de passer le dernier paramètre sous forme de tableau à 2 dimensions, tu pourras par exemple utiliser "la notation tableau" avec un pointeur fixé sur le tableau "RET".
[ StructLayout( LayoutKind.Sequential ) ]
private struct InOutG
{
public float H;
public float B;
[ MarshalAs( UnmanagedType.ByValArray, SizeConst = 3 ) ]
public float[ ] T;
public short TYPE;
public byte TYPE2;
[ MarshalAs( UnmanagedType.ByValArray, SizeConst = 12*3 ) ]
public short[ ] RET;
}
[ DllImport( "xxx_G.dll" ) ]
private static extern void XXX_G( ref InOutG t );