SOS:DCOM组件连接(100分)

  • 主题发起人 Lotus123
  • 开始时间
L

Lotus123

Unregistered / Unconfirmed
GUEST, unregistred user!
以下代码在执行到dCom.AppServer.GetLoginInfo(sUser, sPass)时异常:
Exception EoleSysError in module Demo.exe at 000BC2AD.
RPC 占位程序的版本不兼容
(组件和客户端均用Delphi4开发)
==============================以下是代码
try
dCom:=TDCOMConnection.Create(Nil);
dCom.Connected := False;
dCom.ComputerName := '192.168.0.10';
dCom.ServerName := 'Demo.Download';
dCom.ServerGUID := '{06E8E9DF-7471-42CC-9123-F0F41C9D2F60}';
dCom.Connected := True;
Result := dCom.AppServer.GetLoginInfo(sUser, sPass);
sUser:=sU;
sPass:=sP;
Finally
dCom.Connected := False;
dCom.Free;
dCom := Nil;
end;
 
我试了可以呀,你换台机器试试吧
 
多人接受答案了。
 

Similar threads

S
回复
0
查看
3K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
2K
SUNSTONE的Delphi笔记
S
I
回复
0
查看
434
import
I
顶部