📄 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 : 1.2
// File generated on 05-12-5 10:26:12 from Type Library described below.
// ************************************************************************ //
// Type Lib: E:\jds\Project1.tlb (1)
// LIBID: {E9F6D6C0-6578-11DA-9A65-00115B68A2E5}
// LCID: 0
// Helpfile:
// HelpString: Project1 Library
// DepndLst:
// (1) v2.0 stdole, (C:\WINDOWS\SYSTEM\stdole2.tlb)
// (2) v4.0 StdVCL, (C:\WINDOWS\SYSTEM\stdvcl40.dll)
// ************************************************************************ //
{$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
Project1MajorVersion = 1;
Project1MinorVersion = 0;
LIBID_Project1: TGUID = '{E9F6D6C0-6578-11DA-9A65-00115B68A2E5}';
IID_Ixianshi: TGUID = '{E9F6D6C1-6578-11DA-9A65-00115B68A2E5}';
CLASS_xianshi: TGUID = '{E9F6D6C3-6578-11DA-9A65-00115B68A2E5}';
type
// *********************************************************************//
// Forward declaration of types defined in TypeLibrary
// *********************************************************************//
Ixianshi = interface;
IxianshiDisp = dispinterface;
// *********************************************************************//
// Declaration of CoClasses defined in Type Library
// (NOTE: Here we map each CoClass to its Default Interface)
// *********************************************************************//
xianshi = Ixianshi;
// *********************************************************************//
// Interface: Ixianshi
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {E9F6D6C1-6578-11DA-9A65-00115B68A2E5}
// *********************************************************************//
Ixianshi = interface(IDispatch)
['{E9F6D6C1-6578-11DA-9A65-00115B68A2E5}']
function Get_lcaption: WideString; safecall;
procedure Set_lcaption(const Value: WideString); safecall;
property lcaption: WideString read Get_lcaption write Set_lcaption;
end;
// *********************************************************************//
// DispIntf: IxianshiDisp
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {E9F6D6C1-6578-11DA-9A65-00115B68A2E5}
// *********************************************************************//
IxianshiDisp = dispinterface
['{E9F6D6C1-6578-11DA-9A65-00115B68A2E5}']
property lcaption: WideString dispid 201;
end;
// *********************************************************************//
// The Class Coxianshi provides a Create and CreateRemote method to
// create instances of the default interface Ixianshi exposed by
// the CoClass xianshi. The functions are intended to be used by
// clients wishing to automate the CoClass objects exposed by the
// server of this typelibrary.
// *********************************************************************//
Coxianshi = class
class function Create: Ixianshi;
class function CreateRemote(const MachineName: string): Ixianshi;
end;
implementation
uses ComObj;
class function Coxianshi.Create: Ixianshi;
begin
Result := CreateComObject(CLASS_xianshi) as Ixianshi;
end;
class function Coxianshi.CreateRemote(const MachineName: string): Ixianshi;
begin
Result := CreateRemoteComObject(MachineName, CLASS_xianshi) as Ixianshi;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -