📄 diaryaddin_tlb.pas
字号:
unit DiaryAddIn_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.1.0.1.0.1.6 $
// File generated on 2003-6-9 21:26:21 from Type Library described below.
// ************************************************************************ //
// Type Lib: E:\WorkShop\Projects\DiaryAddIn\DiaryAddIn.tlb (1)
// LIBID: {70193EEB-0B1A-4212-839F-198159ABF3F4}
// LCID: 0
// Helpfile:
// DepndLst:
// (1) v2.0 stdole, (C:\WINNT\System32\stdole2.tlb)
// (2) v4.0 StdVCL, (C:\WINNT\System32\stdvcl40.dll)
// (3) v1.0 AddInDesignerObjects, (C:\Program Files\Common Files\Designer\MSADDNDR.DLL)
// ************************************************************************ //
{$TYPEDADDRESS OFF} // Unit must be compiled without type-checked pointers.
{$WARN SYMBOL_PLATFORM OFF}
{$WRITEABLECONST ON}
{$VARPROPSETTER ON}
interface
uses Windows, ActiveX, AddInDesignerObjects_TLB, 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
DiaryAddInMajorVersion = 1;
DiaryAddInMinorVersion = 0;
LIBID_DiaryAddIn: TGUID = '{70193EEB-0B1A-4212-839F-198159ABF3F4}';
CLASS_Diary: TGUID = '{1AF70EDF-8BCD-4AE9-956C-9A6D06157C6D}';
type
// *********************************************************************//
// Declaration of CoClasses defined in Type Library
// (NOTE: Here we map each CoClass to its Default Interface)
// *********************************************************************//
Diary = _IDTExtensibility2;
// *********************************************************************//
// The Class CoDiary provides a Create and CreateRemote method to
// create instances of the default interface _IDTExtensibility2 exposed by
// the CoClass Diary. The functions are intended to be used by
// clients wishing to automate the CoClass objects exposed by the
// server of this typelibrary.
// *********************************************************************//
CoDiary = class
class function Create: _IDTExtensibility2;
class function CreateRemote(const MachineName: string): _IDTExtensibility2;
end;
implementation
uses ComObj;
class function CoDiary.Create: _IDTExtensibility2;
begin
Result := CreateComObject(CLASS_Diary) as _IDTExtensibility2;
end;
class function CoDiary.CreateRemote(const MachineName: string): _IDTExtensibility2;
begin
Result := CreateRemoteComObject(MachineName, CLASS_Diary) as _IDTExtensibility2;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -