delphi的MIDAS编程时,使用了SocketConnection,
当我SocketConnection1.Connected:=True时,总是报错:“object not available:{GUID}" ,
我的scktsrvr.exe 也打开了。还是不行!重新注册midas.dll后也不行
当我SocketConnection1.Connected:=True时,总是报错:“object not available:{GUID}" ,
我的scktsrvr.exe 也打开了。还是不行!重新注册midas.dll后也不行
object not available提示不可用
SocketConnection1.Connected:= false;
SocketConnection1.Host:='机器名';
SocketConnection1.Address:= '机器IP';
SocketConnection1.ServerName:= '你建的远程服务器';
SocketConnection1.Port:= 211;
SocketConnection1.LoginPrompt:= false;
SocketConnection1.Connected:= true;
SocketConnection1.Connected:= false;
SocketConnection1.Host:='机器名';
SocketConnection1.Address:= '机器IP';
SocketConnection1.ServerName:= '你建的远程服务器';
SocketConnection1.Port:= 211;
SocketConnection1.LoginPrompt:= false;
SocketConnection1.Connected:= true;
2、你的SocketConnection的Address有没有填好?