📄 project1_tlb.~pas
字号:
unit Project1_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.130 $
// File generated on 2002-9-6 13:27:36 from Type Library described below.
// ************************************************************************ //
// Type Lib: H:\cxlh\Project1.tlb (1)
// LIBID: {CAE78F5B-246F-4F54-8355-0DC85449787B}
// LCID: 0
// Helpfile:
// DepndLst:
// (1) v2.0 stdole, (C:\WINDOWS\System32\stdole2.tlb)
// (2) v4.0 StdVCL, (C:\WINDOWS\System32\stdvcl40.dll)
// (3) v2.1 ADODB, (C:\Program Files\Common Files\System\ADO\msado21.tlb)
// ************************************************************************ //
{$TYPEDADDRESS OFF} // Unit must be compiled without type-checked pointers.
{$WARN SYMBOL_PLATFORM OFF}
{$WRITEABLECONST ON}
interface
uses ActiveX, ADODB_TLB, Classes, Graphics, StdVCL, Variants, Windows;
// *********************************************************************//
// 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
// TypeLibrary Major and minor versions
Project1MajorVersion = 1;
Project1MinorVersion = 0;
LIBID_Project1: TGUID = '{CAE78F5B-246F-4F54-8355-0DC85449787B}';
IID_IRDSAppServer: TGUID = '{C76D0F07-43B3-4866-9AAD-426EF82ACBB4}';
CLASS_RDSAppServer: TGUID = '{7F0D8E76-0B93-491E-B8D3-521256F45A7C}';
type
// *********************************************************************//
// Forward declaration of types defined in TypeLibrary
// *********************************************************************//
IRDSAppServer = interface;
IRDSAppServerDisp = dispinterface;
// *********************************************************************//
// Declaration of CoClasses defined in Type Library
// (NOTE: Here we map each CoClass to its Default Interface)
// *********************************************************************//
RDSAppServer = IRDSAppServer;
// *********************************************************************//
// Interface: IRDSAppServer
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {C76D0F07-43B3-4866-9AAD-426EF82ACBB4}
// *********************************************************************//
IRDSAppServer = interface(IDispatch)
['{C76D0F07-43B3-4866-9AAD-426EF82ACBB4}']
end;
// *********************************************************************//
// DispIntf: IRDSAppServerDisp
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {C76D0F07-43B3-4866-9AAD-426EF82ACBB4}
// *********************************************************************//
IRDSAppServerDisp = dispinterface
['{C76D0F07-43B3-4866-9AAD-426EF82ACBB4}']
end;
// *********************************************************************//
// The Class CoRDSAppServer provides a Create and CreateRemote method to
// create instances of the default interface IRDSAppServer exposed by
// the CoClass RDSAppServer. The functions are intended to be used by
// clients wishing to automate the CoClass objects exposed by the
// server of this typelibrary.
// *********************************************************************//
CoRDSAppServer = class
class function Create: IRDSAppServer;
class function CreateRemote(const MachineName: string): IRDSAppServer;
end;
implementation
uses ComObj;
class function CoRDSAppServer.Create: IRDSAppServer;
begin
Result := CreateComObject(CLASS_RDSAppServer) as IRDSAppServer;
end;
class function CoRDSAppServer.CreateRemote(const MachineName: string): IRDSAppServer;
begin
Result := CreateRemoteComObject(MachineName, CLASS_RDSAppServer) as IRDSAppServer;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -