dll C#
char byte
char* string
void* IntPtr
上面是对应关系
下面是转换后的函数
[DllImport("******.dll", CharSet = CharSet.Ansi)]
public static extern int ClientSendAndRecv(byte Invoker,string ServerIp,int ServerPort,
int WaitTime,intptr pSendBuf,int iSendLen,
intptr pRecvBuf,int BufLen);