public static extern void core_FileStorage_write_double( IntPtr fs, [MarshalAs(UnmanagedType.LPStr)] string name, double value); [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl)]