unit SprOperWrap_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 28.06.2005 15:36:42 from Type Library described below.

// ************************************************************************  //
// Type Lib: E:\Production\SprGrOperWrap\SprOperWrap.tlb (1)
// LIBID: {D9DA2B6E-5E0C-42C9-B477-B63CB3D0D8C8}
// LCID: 0
// Helpfile: 
// HelpString: SprOperWrap Library
// DepndLst: 
//   (1) v2.0 stdole, (C:\WINNT\System32\stdole2.tlb)
//   (2) v4.0 StdVCL, (C:\WINNT\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
  SprOperWrapMajorVersion = 1;
  SprOperWrapMinorVersion = 0;

  LIBID_SprOperWrap: TGUID = '{D9DA2B6E-5E0C-42C9-B477-B63CB3D0D8C8}';

  IID_ISprOper: TGUID = '{6C2DD797-61E7-442C-B687-FDF2BD097725}';
  CLASS_SprOper: TGUID = '{D6E51C23-5DB2-402C-BD7D-9FEE90D2A890}';
type

// *********************************************************************//
// Forward declaration of types defined in TypeLibrary                    
// *********************************************************************//
  ISprOper = interface;
  ISprOperDisp = dispinterface;

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


// *********************************************************************//
// Interface: ISprOper
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {6C2DD797-61E7-442C-B687-FDF2BD097725}
// *********************************************************************//
  ISprOper = interface(IDispatch)
    ['{6C2DD797-61E7-442C-B687-FDF2BD097725}']
    procedure Init(ParentHandle: Integer); safecall;
    procedure ShowSprOper; safecall;
  end;

// *********************************************************************//
// DispIntf:  ISprOperDisp
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {6C2DD797-61E7-442C-B687-FDF2BD097725}
// *********************************************************************//
  ISprOperDisp = dispinterface
    ['{6C2DD797-61E7-442C-B687-FDF2BD097725}']
    procedure Init(ParentHandle: Integer); dispid 201;
    procedure ShowSprOper; dispid 202;
  end;

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

implementation

uses ComObj;

class function CoSprOper.Create: ISprOper;
begin
  Result := CreateComObject(CLASS_SprOper) as ISprOper;
end;

class function CoSprOper.CreateRemote(const MachineName: string): ISprOper;
begin
  Result := CreateRemoteComObject(MachineName, CLASS_SprOper) as ISprOper;
end;

end.
