public AsciiString(string value) { unmanagedContainer = new nsStringContainer(); IntPtr p = Marshal.AllocHGlobal(Marshal.SizeOf(typeof(nsStringContainer))); Marshal.StructureToPtr(unmanagedContainer, p, false); handle = new HandleRef(typeof(nsStringContainer), p); Base.gluezilla_CStringContainerInit(handle); String = value; }