H
hubeizwj
Unregistered / Unconfirmed
GUEST, unregistred user!
var
FinanceManage: IFinanceManageDisp;
begin
FinanceManage := IFinanceManageDisp(IDispatch(SocketConnection1.AppServer));
FinanceManage.Method1
end;
var
FinanceManage: IFinanceManage;
begin
FinanceManage:=CoFinanceManage.Create;
FinanceManage.Method1
end;
以上两种方法用那种比较好呢? 本人要访问远程服务器的.且不用DCOMCONNECT
FinanceManage: IFinanceManageDisp;
begin
FinanceManage := IFinanceManageDisp(IDispatch(SocketConnection1.AppServer));
FinanceManage.Method1
end;
var
FinanceManage: IFinanceManage;
begin
FinanceManage:=CoFinanceManage.Create;
FinanceManage.Method1
end;
以上两种方法用那种比较好呢? 本人要访问远程服务器的.且不用DCOMCONNECT