L
lion1
Unregistered / Unconfirmed
GUEST, unregistred user!
在TSimpleObjectBroker中GetComputerForprogID()这个函数,李维老师用的是:
SimpleObjectBroker1.GetComputerForPorgID('PFTDemoServer.FTDemoServer');
而PFTDemoServer是远程数据模块的名字(应用服务器名字),
但我调试时这句话不能通过,请教是怎么回事?
而Delphi的帮助是:
function GetComputerForProgID(const ProgID): string;
override;
Description
Call GetComputerForProgID to obtain the name of an available server machine.
The ProgID parameter (which specifies the desired server interface) is ignored.
而const ProgID 参数是指什么?怎么用?
SimpleObjectBroker1.GetComputerForPorgID('PFTDemoServer.FTDemoServer');
而PFTDemoServer是远程数据模块的名字(应用服务器名字),
但我调试时这句话不能通过,请教是怎么回事?
而Delphi的帮助是:
function GetComputerForProgID(const ProgID): string;
override;
Description
Call GetComputerForProgID to obtain the name of an available server machine.
The ProgID parameter (which specifies the desired server interface) is ignored.
而const ProgID 参数是指什么?怎么用?