Partager via


IActiveScriptParse32

If the Windows Script engine allows raw text code scriptlets to be added to the script or allows expression text to be evaluated at run time, it implements the IActiveScriptParse32 interface. For interpreted scripting languages that have no independent authoring environment, such as VBScript, this provides an alternate mechanism (other than IPersist*) to get script code into the scripting engine, and to attach script fragments to various object events.

Methods in Vtable Order

Method Description
IActiveScriptParse32::AddScriptlet Adds a code scriptlet to the script.
IActiveScriptParse32::InitNew Initializes the scripting engine.
IActiveScriptParse32::ParseScriptText Parses the given code scriptlet, adding declarations into the name space and evaluating code as appropriate.