📄 exceed_tlb.pas
字号:
unit Exceed_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 : 1.2
// File generated on 2005.06.22 8:20:04 from Type Library described below.
// ************************************************************************ //
// Type Lib: D:\RssNavigator\RssNavigator.tlb (1)
// LIBID: {BE8440C5-9278-4BC9-B9CE-9DDC60A75D6F}
// LCID: 0
// Helpfile:
// HelpString: Exceed Library
// DepndLst:
// (1) v2.0 stdole, (C:\WINDOWS\System32\stdole2.tlb)
// ************************************************************************ //
{$TYPEDADDRESS OFF} // Unit must be compiled without type-checked pointers.
{$WARN SYMBOL_PLATFORM OFF}
{$WRITEABLECONST ON}
{$VARPROPSETTER ON}
interface
uses Windows, ActiveX, Classes, Graphics, StdVCL, Variants;
// *********************************************************************//
// 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
ExceedMajorVersion = 1;
ExceedMinorVersion = 0;
LIBID_Exceed: TGUID = '{BE8440C5-9278-4BC9-B9CE-9DDC60A75D6F}';
IID_IMyExternal: TGUID = '{58F0EE2C-B713-4BD4-8927-6BD7FCD01C9B}';
CLASS_MyExternal: TGUID = '{4BFB9FEC-2374-4A7B-87EA-F3593A864BE5}';
type
// *********************************************************************//
// Forward declaration of types defined in TypeLibrary
// *********************************************************************//
IMyExternal = interface;
IMyExternalDisp = dispinterface;
// *********************************************************************//
// Declaration of CoClasses defined in Type Library
// (NOTE: Here we map each CoClass to its Default Interface)
// *********************************************************************//
MyExternal = IMyExternal;
// *********************************************************************//
// Interface: IMyExternal
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {58F0EE2C-B713-4BD4-8927-6BD7FCD01C9B}
// *********************************************************************//
IMyExternal = interface(IDispatch)
['{58F0EE2C-B713-4BD4-8927-6BD7FCD01C9B}']
procedure SelectSubNode(index: SYSINT); safecall;
procedure SelectParentNode; safecall;
end;
// *********************************************************************//
// DispIntf: IMyExternalDisp
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {58F0EE2C-B713-4BD4-8927-6BD7FCD01C9B}
// *********************************************************************//
IMyExternalDisp = dispinterface
['{58F0EE2C-B713-4BD4-8927-6BD7FCD01C9B}']
procedure SelectSubNode(index: SYSINT); dispid 201;
procedure SelectParentNode; dispid 202;
end;
// *********************************************************************//
// The Class CoMyExternal provides a Create and CreateRemote method to
// create instances of the default interface IMyExternal exposed by
// the CoClass MyExternal. The functions are intended to be used by
// clients wishing to automate the CoClass objects exposed by the
// server of this typelibrary.
// *********************************************************************//
CoMyExternal = class
class function Create: IMyExternal;
class function CreateRemote(const MachineName: string): IMyExternal;
end;
implementation
uses ComObj;
class function CoMyExternal.Create: IMyExternal;
begin
Result := CreateComObject(CLASS_MyExternal) as IMyExternal;
end;
class function CoMyExternal.CreateRemote(const MachineName: string): IMyExternal;
begin
Result := CreateRemoteComObject(MachineName, CLASS_MyExternal) as IMyExternal;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -