home *** CD-ROM | disk | FTP | other *** search
- unit Pserver1_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 10/04/99 9:31:09 from Type Library described below.
-
- // ************************************************************************ //
- // Type Lib: D:\conferen\controlusu\Pserver1.tlb
- // IID\LCID: {DBD49CA0-0399-11D3-9629-0000E85E7443}\0
- // Helpfile:
- // HelpString: Pserver1 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_Pserver1: TGUID = '{DBD49CA0-0399-11D3-9629-0000E85E7443}';
- IID_Icontrolusu: TGUID = '{DBD49CA1-0399-11D3-9629-0000E85E7443}';
- CLASS_controlusu: TGUID = '{DBD49CA3-0399-11D3-9629-0000E85E7443}';
- IID_Iddd: TGUID = '{DBD49CCE-0399-11D3-9629-0000E85E7443}';
- CLASS_ddd: TGUID = '{DBD49CD0-0399-11D3-9629-0000E85E7443}';
- type
-
- // *********************************************************************//
- // Forward declaration of interfaces defined in Type Library //
- // *********************************************************************//
- Icontrolusu = interface;
- IcontrolusuDisp = dispinterface;
- Iddd = interface;
- IdddDisp = dispinterface;
-
- // *********************************************************************//
- // Declaration of CoClasses defined in Type Library //
- // (NOTE: Here we map each CoClass to its Default Interface) //
- // *********************************************************************//
- controlusu = Icontrolusu;
- ddd = Iddd;
-
-
- // *********************************************************************//
- // Interface: Icontrolusu
- // Flags: (4416) Dual OleAutomation Dispatchable
- // GUID: {DBD49CA1-0399-11D3-9629-0000E85E7443}
- // *********************************************************************//
- Icontrolusu = interface(IDispatch)
- ['{DBD49CA1-0399-11D3-9629-0000E85E7443}']
- function busqueda(const cadena: WideString): Integer; safecall;
- function sololectura(const cadena: WideString): Integer; safecall;
- end;
-
- // *********************************************************************//
- // DispIntf: IcontrolusuDisp
- // Flags: (4416) Dual OleAutomation Dispatchable
- // GUID: {DBD49CA1-0399-11D3-9629-0000E85E7443}
- // *********************************************************************//
- IcontrolusuDisp = dispinterface
- ['{DBD49CA1-0399-11D3-9629-0000E85E7443}']
- function busqueda(const cadena: WideString): Integer; dispid 1;
- function sololectura(const cadena: WideString): Integer; dispid 2;
- end;
-
- // *********************************************************************//
- // Interface: Iddd
- // Flags: (4416) Dual OleAutomation Dispatchable
- // GUID: {DBD49CCE-0399-11D3-9629-0000E85E7443}
- // *********************************************************************//
- Iddd = interface(IDispatch)
- ['{DBD49CCE-0399-11D3-9629-0000E85E7443}']
- end;
-
- // *********************************************************************//
- // DispIntf: IdddDisp
- // Flags: (4416) Dual OleAutomation Dispatchable
- // GUID: {DBD49CCE-0399-11D3-9629-0000E85E7443}
- // *********************************************************************//
- IdddDisp = dispinterface
- ['{DBD49CCE-0399-11D3-9629-0000E85E7443}']
- end;
-
- Cocontrolusu = class
- class function Create: Icontrolusu;
- class function CreateRemote(const MachineName: string): Icontrolusu;
- end;
-
- Coddd = class
- class function Create: Iddd;
- class function CreateRemote(const MachineName: string): Iddd;
- end;
-
- implementation
-
- uses ComObj;
-
- class function Cocontrolusu.Create: Icontrolusu;
- begin
- Result := CreateComObject(CLASS_controlusu) as Icontrolusu;
- end;
-
- class function Cocontrolusu.CreateRemote(const MachineName: string): Icontrolusu;
- begin
- Result := CreateRemoteComObject(MachineName, CLASS_controlusu) as Icontrolusu;
- end;
-
- class function Coddd.Create: Iddd;
- begin
- Result := CreateComObject(CLASS_ddd) as Iddd;
- end;
-
- class function Coddd.CreateRemote(const MachineName: string): Iddd;
- begin
- Result := CreateRemoteComObject(MachineName, CLASS_ddd) as Iddd;
- end;
-
- end.
-