15. 06.
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如何实现调用呀?
知道怎么调用了但是就是报错
INVALID UNICODE CHARACTER!
WS:= (HTTPRIO1 as MyRemotableObjectPortType);
s:= ws.SetMessage('avshapek');
ws应该是TFMessageWindow型的变量吧
编码不对?
好象是的,怎么处理呀?
好像有老外写了一套组件可以用。