试一下
[DllImport("c.dll",EntryPoint="mb_QueryWithArgs")]
public static extern int mb_QueryWithArgs(Inptr o, string RDFObject, ref IntPtr args);
int iRet = mb_QueryWithArgs(this, byte1, ref byte2);

解决方案 »

  1.   

    你参考一下,http://it.sohu.com/42/32/article15363242.shtml
    http://www.microsoft.com/china/msdn/library/dnnetcomp/html/netcfPhoneAPI.asp
    http://lists.ximian.com/archives/public/mono-list/2003-January/010922.html
    http://www.candle.com/www1/cnd/portal/CNDportal_Article_Master/0,2293,2683_2473681_2892491,00.html
    http://www.csharphelp.com/archives/archive63.html
    http://www.csharphelp.com/archives/archive52.html
    http://www.csdn.net/develop/article/16/16269.shtm
      

  2.   

    [DllImport("c.dll",EntryPoint="mb_QueryWithArgs")]
    public static extern int mb_QueryWithArgs(Inptr o, StringBuilder RDFObject, ref StringBuilder args);
    int iRet = mb_QueryWithArgs(this, sb1, ref sb2);
      

  3.   

    try char[] args = new char[]{....};
    char[] RDFObject = new char[]{...};int mb_QueryWithArgs(musicbrainz_t o, char[] RDFObject, ref char args[0])