在Delphi 中调用DLL的例子如下 
p_buffer=^char;
p_integer=^integer;Getstring =Function(id:integer;pBuffer:p_buffer;length:p_integer):integer;stdcall;
怎么转换成C#的DLL调用?
我按如下申明[DllImport("my.dll" ) ]
public static extern int read_user_data(int ID,  string buffer, out int iLength);  不能返回buffer(第二个参数),如按[DllImport("my.dll" ) ]
public static extern int read_user_data(int ID,  ref string buffer, out int iLength);申明,又会出错