Ron,

public struct RIBInterfaceEntry
{
    [MarshalAs( UnmanagedType.ByValTStr, SizeConst=128 )]
    public string name;
    int entrytype;
    int subtype
}

Try removing the MarshalAs attribute from the string member.



Mattias


===
Mattias Sjögren
[EMAIL PROTECTED]

Reply via email to