unit IEButtonExample_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 12.11.2007 ã. 23:29:01 from Type Library described below.

// ************************************************************************  //
// Type Lib: C:\temp\ie_delphi\green_last\IEButtonExample_D7\IEButtonExample.tlb (1)
// LIBID: {2C22B8E5-B68C-4E1C-8873-019E41BE0D65}
// LCID: 0
// Helpfile: 
// HelpString: IEButtonExample 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
  IEButtonExampleMajorVersion = 1;
  IEButtonExampleMinorVersion = 0;

  LIBID_IEButtonExample: TGUID = '{2C22B8E5-B68C-4E1C-8873-019E41BE0D65}';

  IID_IIEBtnExample: TGUID = '{328CED33-9128-4CDC-AC3D-7CF23BE8A2BA}';
  CLASS_IEBtnExample: TGUID = '{798E002B-F108-41D7-B726-8A136E1D8449}';
type

// *********************************************************************//
// Forward declaration of types defined in TypeLibrary                    
// *********************************************************************//
  IIEBtnExample = interface;
  IIEBtnExampleDisp = dispinterface;

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


// *********************************************************************//
// Interface: IIEBtnExample
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {328CED33-9128-4CDC-AC3D-7CF23BE8A2BA}
// *********************************************************************//
  IIEBtnExample = interface(IDispatch)
    ['{328CED33-9128-4CDC-AC3D-7CF23BE8A2BA}']
  end;

// *********************************************************************//
// DispIntf:  IIEBtnExampleDisp
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {328CED33-9128-4CDC-AC3D-7CF23BE8A2BA}
// *********************************************************************//
  IIEBtnExampleDisp = dispinterface
    ['{328CED33-9128-4CDC-AC3D-7CF23BE8A2BA}']
  end;

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

implementation

uses ComObj;

class function CoIEBtnExample.Create: IIEBtnExample;
begin
  Result := CreateComObject(CLASS_IEBtnExample) as IIEBtnExample;
end;

class function CoIEBtnExample.CreateRemote(const MachineName: string): IIEBtnExample;
begin
  Result := CreateRemoteComObject(MachineName, CLASS_IEBtnExample) as IIEBtnExample;
end;

end.
