[Solved] C unsigned char ** and unsigned long * to C#

[ad_1] Try Following : using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.InteropServices; namespace ConsoleApplication49 { class Program { [DllImport(“XXXXX.dll”, CallingConvention = CallingConvention.Cdecl)] public static extern int Compress(int compressLevel, IntPtr srcBuf, IntPtr outBuf, IntPtr size); static void Main(string[] args) { int compressLevel = 0; string input = “The quick brown fox jumped over the … Read more