谢谢.

解决方案 »

  1.   

    可以的,用法:
    [DllImport("yourdllfile.dll")]
    private static extern int function1(int para1);
      

  2.   

    可以,最好用MarshalAs进行转换
      

  3.   

    [DllImport("MXOTDLL.dll",EntryPoint="MXDetectFinger",CharSet=CharSet.Unicode)]
    public static extern int  dllMXDetectFinger([MarshalAs(UnmanagedType.LPArray)] char[] t,long size);
    自己试试看,例子就是这样