unit SprGrOperWrap_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 04.07.2005 9:19:52 from Type Library described below.

// ************************************************************************  //
// Type Lib: E:\Production\SprGrOperWrap\SprGrOperWrap.tlb (1)
// LIBID: {7D8345C3-0C38-4296-8E39-03922A5299CB}
// LCID: 0
// Helpfile: 
// HelpString: SprGrOperWrap Library
// DepndLst: 
//   (1) v2.0 stdole, (C:\WINNT\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
  SprGrOperWrapMajorVersion = 1;
  SprGrOperWrapMinorVersion = 0;

  LIBID_SprGrOperWrap: TGUID = '{7D8345C3-0C38-4296-8E39-03922A5299CB}';

  IID_ISprGrOper: TGUID = '{CB120BC6-13E4-45F4-824C-74CD076ED2E5}';
  CLASS_SprGrOper: TGUID = '{4CD85897-1399-4D9C-828D-5BF21C9B9780}';
type

// *********************************************************************//
// Forward declaration of types defined in TypeLibrary                    
// *********************************************************************//
  ISprGrOper = interface;
  ISprGrOperDisp = dispinterface;

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


// *********************************************************************//
// Interface: ISprGrOper
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {CB120BC6-13E4-45F4-824C-74CD076ED2E5}
// *********************************************************************//
  ISprGrOper = interface(IDispatch)
    ['{CB120BC6-13E4-45F4-824C-74CD076ED2E5}']
    procedure Init(ParentHandle: Integer); safecall;
    procedure ShowSprGrOper; safecall;
  end;

// *********************************************************************//
// DispIntf:  ISprGrOperDisp
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {CB120BC6-13E4-45F4-824C-74CD076ED2E5}
// *********************************************************************//
  ISprGrOperDisp = dispinterface
    ['{CB120BC6-13E4-45F4-824C-74CD076ED2E5}']
    procedure Init(ParentHandle: Integer); dispid 201;
    procedure ShowSprGrOper; dispid 202;
  end;

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

implementation

uses ComObj;

class function CoSprGrOper.Create: ISprGrOper;
begin
  Result := CreateComObject(CLASS_SprGrOper) as ISprGrOper;
end;

class function CoSprGrOper.CreateRemote(const MachineName: string): ISprGrOper;
begin
  Result := CreateRemoteComObject(MachineName, CLASS_SprGrOper) as ISprGrOper;
end;

end.
