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

📄 printx_tlb.pas

📁 用delphi+intraweb写的简单报表系统(activeform使用技术)
💻 PAS
字号:
unit printx_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 2006-9-18 22:39:45 from Type Library described below.

// ************************************************************************  //
// Type Lib: E:\projects\printx\printx.tlb (1)
// LIBID: {B72D5C78-A110-4ADB-B271-E1A3723BFB47}
// LCID: 0
// Helpfile: 
// HelpString: printx 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
  printxMajorVersion = 1;
  printxMinorVersion = 0;

  LIBID_printx: TGUID = '{B72D5C78-A110-4ADB-B271-E1A3723BFB47}';

  IID_Iadocon: TGUID = '{18E7CBF8-348E-4818-B1C1-43CD88EDD4A9}';
  CLASS_adocon: TGUID = '{014F4E81-AE81-4E05-BCAE-DB435E22A8AC}';
type

// *********************************************************************//
// Forward declaration of types defined in TypeLibrary                    
// *********************************************************************//
  Iadocon = interface;
  IadoconDisp = dispinterface;

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


// *********************************************************************//
// Declaration of structures, unions and aliases.                         
// *********************************************************************//
  PHResult1 = ^HResult; {*}
  POleVariant1 = ^OleVariant; {*}


// *********************************************************************//
// Interface: Iadocon
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {18E7CBF8-348E-4818-B1C1-43CD88EDD4A9}
// *********************************************************************//
  Iadocon = interface(IDispatch)
    ['{18E7CBF8-348E-4818-B1C1-43CD88EDD4A9}']
    function Fprint(const Param1: WideString; const Param2: WideString; const Param3: WideString): OleVariant; safecall;
  end;

// *********************************************************************//
// DispIntf:  IadoconDisp
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {18E7CBF8-348E-4818-B1C1-43CD88EDD4A9}
// *********************************************************************//
  IadoconDisp = dispinterface
    ['{18E7CBF8-348E-4818-B1C1-43CD88EDD4A9}']
    function Fprint(const Param1: WideString; const Param2: WideString; const Param3: WideString): OleVariant; dispid 201;
  end;

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

implementation

uses ComObj;

class function Coadocon.Create: Iadocon;
begin
  Result := CreateComObject(CLASS_adocon) as Iadocon;
end;

class function Coadocon.CreateRemote(const MachineName: string): Iadocon;
begin
  Result := CreateRemoteComObject(MachineName, CLASS_adocon) as Iadocon;
end;

end.

⌨️ 快捷键说明

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