C#调用代码:
TcpChannel tc= new TcpChannel();
ChannelServices.RegisterChannel(tc); remoteObject = (MyRemotableObject)Activator.GetObject(typeof(MyRemotableObject), "tcp://localhost:8080/HelloWorld"); textBox2.Text= remoteObject.SetMessage(textBox1.Text);
DELPHI调用
s:widestring;
WS:= (HTTPRIO1 as MyRemotableObjectPortType);
s:= ws.SetMessage('av');返回过程报错部分已经显示出来了,
INVALID UNICODE CHARACTER!
line:16
</Retrun>
TcpChannel tc= new TcpChannel();
ChannelServices.RegisterChannel(tc); remoteObject = (MyRemotableObject)Activator.GetObject(typeof(MyRemotableObject), "tcp://localhost:8080/HelloWorld"); textBox2.Text= remoteObject.SetMessage(textBox1.Text);
DELPHI调用
s:widestring;
WS:= (HTTPRIO1 as MyRemotableObjectPortType);
s:= ws.SetMessage('av');返回过程报错部分已经显示出来了,
INVALID UNICODE CHARACTER!
line:16
</Retrun>
DELPHI调用
s:widestring;
WS:= (HTTPRIO1 as MyRemotableObjectPortType);
s:= ws.SetMessage('av'); 返回过程报错部分已经显示出来了,
INVALID UNICODE CHARACTER!
line:16
 </Retrun>