G
gmtech
Unregistered / Unconfirmed
GUEST, unregistred user!
DCOMConnection1.GetServer与SocketConnection1.GetServer(interface not supported 错误)(150分)<br />var
Iobj:IServer;
begin
DCOMConnection1.Connected:=True;
Iobj:=DCOMConnection1.GetServer as IServer;
Iobj.方法;//正确
end;
但是为什么用SocketConnection会...???
var
Iobj:IServer;
begin
SocketConnection1.Connected:=True;
Iobj:=SocketConnection1.GetServer as IServer;
Iobj.方法;//interface not supported 错误
end;
Iobj:IServer;
begin
DCOMConnection1.Connected:=True;
Iobj:=DCOMConnection1.GetServer as IServer;
Iobj.方法;//正确
end;
但是为什么用SocketConnection会...???
var
Iobj:IServer;
begin
SocketConnection1.Connected:=True;
Iobj:=SocketConnection1.GetServer as IServer;
Iobj.方法;//interface not supported 错误
end;