unit IETools_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 2008/7/30 8:44:34 from Type Library described below. // ************************************************************************ // // Type Lib: F:\RealICQ\RealICQ For LINKING\RealICQ_2008_07_07\COM\CopyScreen\IETools.tlb (1) // LIBID: {57A6AF8D-182C-47F8-AFA1-734EC987B6AE} // LCID: 0 // Helpfile: // HelpString: IETools Library // DepndLst: // (1) v2.0 stdole, (C:\Windows\SysWOW64\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 IEToolsMajorVersion = 1; IEToolsMinorVersion = 0; LIBID_IETools: TGUID = '{57A6AF8D-182C-47F8-AFA1-734EC987B6AE}'; IID_ICopyScreen: TGUID = '{C69F97A6-25F5-433D-8437-087730482ADA}'; CLASS_CopyScreen: TGUID = '{F55BEBFE-B587-4414-A3CB-93493C617BF4}'; type // *********************************************************************// // Forward declaration of types defined in TypeLibrary // *********************************************************************// ICopyScreen = interface; ICopyScreenDisp = dispinterface; // *********************************************************************// // Declaration of CoClasses defined in Type Library // (NOTE: Here we map each CoClass to its Default Interface) // *********************************************************************// CopyScreen = ICopyScreen; // *********************************************************************// // Interface: ICopyScreen // Flags: (4416) Dual OleAutomation Dispatchable // GUID: {C69F97A6-25F5-433D-8437-087730482ADA} // *********************************************************************// ICopyScreen = interface(IDispatch) ['{C69F97A6-25F5-433D-8437-087730482ADA}'] procedure Start; safecall; function Get_FileName: OleVariant; safecall; procedure Upload(URL: OleVariant); safecall; property FileName: OleVariant read Get_FileName; end; // *********************************************************************// // DispIntf: ICopyScreenDisp // Flags: (4416) Dual OleAutomation Dispatchable // GUID: {C69F97A6-25F5-433D-8437-087730482ADA} // *********************************************************************// ICopyScreenDisp = dispinterface ['{C69F97A6-25F5-433D-8437-087730482ADA}'] procedure Start; dispid 201; property FileName: OleVariant readonly dispid 202; procedure Upload(URL: OleVariant); dispid 203; end; // *********************************************************************// // The Class CoCopyScreen provides a Create and CreateRemote method to // create instances of the default interface ICopyScreen exposed by // the CoClass CopyScreen. The functions are intended to be used by // clients wishing to automate the CoClass objects exposed by the // server of this typelibrary. // *********************************************************************// CoCopyScreen = class class function Create: ICopyScreen; class function CreateRemote(const MachineName: string): ICopyScreen; end; implementation uses ComObj; class function CoCopyScreen.Create: ICopyScreen; begin Result := CreateComObject(CLASS_CopyScreen) as ICopyScreen; end; class function CoCopyScreen.CreateRemote(const MachineName: string): ICopyScreen; begin Result := CreateRemoteComObject(MachineName, CLASS_CopyScreen) as ICopyScreen; end; end.