📄 server_tlb.pas
字号:
unit Server_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.75 $
// File generated on 24.05.99 22:44:17 from Type Library described below.
// ************************************************************************ //
// Type Lib: C:\NDF\Delphi\ODAC\Demos\MIDAS\Server.tlb
// IID\LCID: {5F9ACA42-DF9C-11D2-9806-0000E8DB5450}\0
// Helpfile:
// HelpString: Server 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_Server: TGUID = '{5F9ACA42-DF9C-11D2-9806-0000E8DB5450}';
IID_IDatas: TGUID = '{5F9ACA4A-DF9C-11D2-9806-0000E8DB5450}';
CLASS_Datas: TGUID = '{5F9ACA4C-DF9C-11D2-9806-0000E8DB5450}';
type
// *********************************************************************//
// Forward declaration of interfaces defined in Type Library //
// *********************************************************************//
IDatas = interface;
IDatasDisp = dispinterface;
// *********************************************************************//
// Declaration of CoClasses defined in Type Library //
// (NOTE: Here we map each CoClass to its Default Interface) //
// *********************************************************************//
Datas = IDatas;
// *********************************************************************//
// Interface: IDatas
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {5F9ACA4A-DF9C-11D2-9806-0000E8DB5450}
// *********************************************************************//
IDatas = interface(IDataBroker)
['{5F9ACA4A-DF9C-11D2-9806-0000E8DB5450}']
function Get_OraProvider: IProvider; safecall;
function Get_DataSetProvider: IProvider; safecall;
property OraProvider: IProvider read Get_OraProvider;
property DataSetProvider: IProvider read Get_DataSetProvider;
end;
// *********************************************************************//
// DispIntf: IDatasDisp
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {5F9ACA4A-DF9C-11D2-9806-0000E8DB5450}
// *********************************************************************//
IDatasDisp = dispinterface
['{5F9ACA4A-DF9C-11D2-9806-0000E8DB5450}']
property OraProvider: IProvider readonly dispid 2;
property DataSetProvider: IProvider readonly dispid 1;
function GetProviderNames: OleVariant; dispid 22929905;
end;
CoDatas = class
class function Create: IDatas;
class function CreateRemote(const MachineName: string): IDatas;
end;
implementation
uses ComObj;
class function CoDatas.Create: IDatas;
begin
Result := CreateComObject(CLASS_Datas) as IDatas;
end;
class function CoDatas.CreateRemote(const MachineName: string): IDatas;
begin
Result := CreateRemoteComObject(MachineName, CLASS_Datas) as IDatas;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -