home *** CD-ROM | disk | FTP | other *** search
- unit servidor1_TLB;
-
- // ************************************************************************ //
- // WARNING //
- // ------- //
- // The types declared in this file were generated from data read from a //
- // Type Library. If this type library is explicitly or indirectly (via //
- // another type library referring to this type library) re-imported, or the //
- // 'Refresh' command of the Type Library Editor activated while editing the //
- // Type Library, the contents of this file will be regenerated and all //
- // manual modifications will be lost. //
- // ************************************************************************ //
-
- // PASTLWTR : $Revision: 1.11.1.63 $
- // File generated on 4/03/99 13:00:31 from Type Library described below.
-
- // ************************************************************************ //
- // Type Lib: D:\conferen\multiquery\servidor1.tlb
- // IID\LCID: {08E981C0-D216-11D2-9629-0000E85E7443}\0
- // Helpfile:
- // HelpString: Project1 Library
- // Version: 1.0
- // ************************************************************************ //
-
- interface
-
- uses Windows, ActiveX, Classes, Graphics, OleCtrls, StdVCL;
-
- // *********************************************************************//
- // GUIDS declared in the TypeLibrary. Following prefixes are used: //
- // Type Libraries : LIBID_xxxx //
- // CoClasses : CLASS_xxxx //
- // DISPInterfaces : DIID_xxxx //
- // Non-DISP interfaces: IID_xxxx //
- // *********************************************************************//
- const
- LIBID_servidor1: TGUID = '{08E981C0-D216-11D2-9629-0000E85E7443}';
- IID_Iprobanquery: TGUID = '{08E981C1-D216-11D2-9629-0000E85E7443}';
- CLASS_probanquery: TGUID = '{08E981C3-D216-11D2-9629-0000E85E7443}';
- type
-
- // *********************************************************************//
- // Forward declaration of interfaces defined in Type Library //
- // *********************************************************************//
- Iprobanquery = interface;
- IprobanqueryDisp = dispinterface;
-
- // *********************************************************************//
- // Declaration of CoClasses defined in Type Library //
- // (NOTE: Here we map each CoClass to its Default Interface) //
- // *********************************************************************//
- probanquery = Iprobanquery;
-
-
- // *********************************************************************//
- // Interface: Iprobanquery
- // Flags: (4416) Dual OleAutomation Dispatchable
- // GUID: {08E981C1-D216-11D2-9629-0000E85E7443}
- // *********************************************************************//
- Iprobanquery = interface(IDataBroker)
- ['{08E981C1-D216-11D2-9629-0000E85E7443}']
- function Get_Provider1: IProvider; safecall;
- function Get_Provider2: IProvider; safecall;
- function Get_Provider3: IProvider; safecall;
- function Get_DataSetProvider1: IProvider; safecall;
- property Provider1: IProvider read Get_Provider1;
- property Provider2: IProvider read Get_Provider2;
- property Provider3: IProvider read Get_Provider3;
- property DataSetProvider1: IProvider read Get_DataSetProvider1;
- end;
-
- // *********************************************************************//
- // DispIntf: IprobanqueryDisp
- // Flags: (4416) Dual OleAutomation Dispatchable
- // GUID: {08E981C1-D216-11D2-9629-0000E85E7443}
- // *********************************************************************//
- IprobanqueryDisp = dispinterface
- ['{08E981C1-D216-11D2-9629-0000E85E7443}']
- property Provider1: IProvider readonly dispid 1;
- property Provider2: IProvider readonly dispid 2;
- property Provider3: IProvider readonly dispid 3;
- property DataSetProvider1: IProvider readonly dispid 4;
- function GetProviderNames: OleVariant; dispid 22929905;
- end;
-
- Coprobanquery = class
- class function Create: Iprobanquery;
- class function CreateRemote(const MachineName: string): Iprobanquery;
- end;
-
- implementation
-
- uses ComObj;
-
- class function Coprobanquery.Create: Iprobanquery;
- begin
- Result := CreateComObject(CLASS_probanquery) as Iprobanquery;
- end;
-
- class function Coprobanquery.CreateRemote(const MachineName: string): Iprobanquery;
- begin
- Result := CreateRemoteComObject(MachineName, CLASS_probanquery) as Iprobanquery;
- end;
-
- end.
-