Ekas Software Windows Script Host Control for Delphi Help
TekWSHProxy
Hierarchy, Members, Methods, Unit: ekWSHmain
Proxy class for translation OLE calls to VCL.
TekWSHProxy = class(TInterfacedObject, IDispatch, IQueryPersistent)
Unit
ekWSHmain
Description
Internally used by ekWSHControl to translate OLE calls to VCL.

ekWSHControl creates instance of this class during object registration in script control and destroys it automatically when the need of it disappears.


TekWSHProxy.Create
TekWSHProxy
Creates instance of TekWSHProxy.
constructor Create(AOwner: TPersistent; ScriptControl: TekWSHControl);
Parameters
AOwner: TPersistent
TPersistent descendant for which one proxy being created,
ScriptControl: TekWSHControl
owner of created proxy instance.
Notes
This method is implemented and used internally, so you don't need to obviously implement or use it in your source code.

TekWSHProxy.Destroy
TekWSHProxy
Destroys instance of TekWSHProxy.
destructor Destroy; override;
Notes
This method is implemented and used internally, so you don't need to obviously implement or use it in your source code.

TekWSHProxy.DoInvoke
TekWSHProxy
Translates DispID parameter into VCL properties reading/writing and method calls.
function DoInvoke(DispID: Integer; const IID: TGUID; LocaleID: Integer; Flags: Word; var dps: TDispParams; pDispIds: PDispIdList; VarResult: Pointer; ExcepInfo: Pointer; ArgErr: Pointer): HResult; virtual;
Notes
This method is implemented and used internally, so you don't need to obviously implement or use it in your source code.

Ekas Software Windows Script Host Control for Delphi Help
Copyright (c)2002,2003 Ekas Software