G Golden Zhang Unregistered / Unconfirmed GUEST, unregistred user! 2003-05-19 #1 就是在客户端需要返回记录时,在服务器端自动创建数据连接,用完了,再自动FREE 总不能在客户端去调用COM事件来创建和FREE吧 请大家帮忙,谢谢
S smokingroom Unregistered / Unconfirmed GUEST, unregistred user! 2003-05-19 #2 1.客戶端使用CreateRemoteComObject,向COM+服務器發出呼叫,服務器會自動創建或從對象池中取一個相應對像
G Golden Zhang Unregistered / Unconfirmed GUEST, unregistred user! 2003-05-19 #3 可以写一段CreateRemoteComObject相关的代码吗?谢谢!
S smokingroom Unregistered / Unconfirmed GUEST, unregistred user! 2003-05-19 #4 uses ...,ComObj, TestServer_TLB; var Ref:IUnknown; begin Ref:=CreateRemoteComObject('TestServer.TestObject','192.168.1.1'); (Ref as IMyInterface).TesProcedure; Ref:=nil; end;
uses ...,ComObj, TestServer_TLB; var Ref:IUnknown; begin Ref:=CreateRemoteComObject('TestServer.TestObject','192.168.1.1'); (Ref as IMyInterface).TesProcedure; Ref:=nil; end;