DCOMConnection1如何用(50分)

源源

Unregistered / Unconfirmed
GUEST, unregistred user!
DCOMConnection1如何用
 
用在三层结构程序的Client
用来连接中间层
英文帮助为:
TDCOMConnection is used in the client portion of a multi-tiered database application to establish and maintain the connection between the client and a remote application server. The DCOM connection object can
Establish an initial connection to a remote application server.
Obtain an IAppServer for the application server.
Obtain a list of providers on the application server.
Drop the connection to the remote application server.
TDCOMConnection uses DCOM to establish the initial connection between the client application and a remote application server. Once the connection is established, the client registers any or all of its client datasets with TDCOMConnection, and these client datasets use the IAppServer interface from the DCOM connection component to communicate with providers on the application server, or to otherwise call the application server’s data module interface.
To connect client applications to remote application servers using TCP/IP sockets, use TSocketConnection instead. To connect to remote application servers using HTTP, use the TWebConnection component. To connect to application servers using CORBA, use the TCORBAConnection component.
 
首先应该有一个DCOM服务程序,注册之后,用TDCOMConnection去连结它啊
 
连接应用程序服务器用的一种通讯协议dcom协议
 
如何注册dcom
 
看李维的书
 
李维的系统篇将的很详细
 
李维的书到那去下栽呀!
 
不错,看看李维的书就行,其实很简单的,自己试吧。
 
将服务程序运行一下就自动注册了。
 
李維的書寫得不錯,如果沒有我可以提供!
 
有下载的地址吗
bamfk1023@163.com
 
首先要运行一次服务器程序吧。
 
顶部