⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 infotip_tlb.pas

📁 这是一个DELPHI7应用案例开发篇有配套程序种子光盘
💻 PAS
字号:
unit InfoTip_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 2003-6-8 14:25:21 from Type Library described below.

// ************************************************************************  //
// Type Lib: C:\Samples\案例\InfoTip\InfoTip.tlb (1)
// LIBID: {9391CC2A-9E53-4A81-953C-B89613518991}
// LCID: 0
// Helpfile: 
// HelpString: InfoTip Library
// DepndLst: 
//   (1) v2.0 stdole, (C:\WINDOWS\System32\stdole2.tlb)
//   (2) v4.0 StdVCL, (C:\WINDOWS\System32\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
  InfoTipMajorVersion = 1;
  InfoTipMinorVersion = 0;

  LIBID_InfoTip: TGUID = '{9391CC2A-9E53-4A81-953C-B89613518991}';

  IID_IDFMInfoTip: TGUID = '{F214A1A3-06F9-445B-AC40-09DE6DDF82C4}';
  CLASS_DFMInfoTip: TGUID = '{E9A1572D-8AA1-414E-9D3B-A7949D6EFDEA}';
type

// *********************************************************************//
// Forward declaration of types defined in TypeLibrary                    
// *********************************************************************//
  IDFMInfoTip = interface;
  IDFMInfoTipDisp = dispinterface;

// *********************************************************************//
// Declaration of CoClasses defined in Type Library                       
// (NOTE: Here we map each CoClass to its Default Interface)              
// *********************************************************************//
  DFMInfoTip = IDFMInfoTip;


// *********************************************************************//
// Interface: IDFMInfoTip
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {F214A1A3-06F9-445B-AC40-09DE6DDF82C4}
// *********************************************************************//
  IDFMInfoTip = interface(IDispatch)
    ['{F214A1A3-06F9-445B-AC40-09DE6DDF82C4}']
  end;

// *********************************************************************//
// DispIntf:  IDFMInfoTipDisp
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {F214A1A3-06F9-445B-AC40-09DE6DDF82C4}
// *********************************************************************//
  IDFMInfoTipDisp = dispinterface
    ['{F214A1A3-06F9-445B-AC40-09DE6DDF82C4}']
  end;

// *********************************************************************//
// The Class CoDFMInfoTip provides a Create and CreateRemote method to          
// create instances of the default interface IDFMInfoTip exposed by              
// the CoClass DFMInfoTip. The functions are intended to be used by             
// clients wishing to automate the CoClass objects exposed by the         
// server of this typelibrary.                                            
// *********************************************************************//
  CoDFMInfoTip = class
    class function Create: IDFMInfoTip;
    class function CreateRemote(const MachineName: string): IDFMInfoTip;
  end;

implementation

uses ComObj;

class function CoDFMInfoTip.Create: IDFMInfoTip;
begin
  Result := CreateComObject(CLASS_DFMInfoTip) as IDFMInfoTip;
end;

class function CoDFMInfoTip.CreateRemote(const MachineName: string): IDFMInfoTip;
begin
  Result := CreateRemoteComObject(MachineName, CLASS_DFMInfoTip) as IDFMInfoTip;
end;

end.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -