Contents Index Topic Contents | ||
Previous Topic: IActiveScriptParse::AddScriptlet Next Topic: IActiveScriptParse::ParseScriptText |
IActiveScriptParse::InitNew
HRESULT InitNew(void);Initializes the scripting engine.
- Returns S_OK if successful, or E_FAIL if an error occurred during initialization.
Before the scripting engine can be used, one of the following methods must be called: IPersist*::Load, IPersist*::InitNew, or IActiveScriptParse::InitNew. The semantics of this method are identical to IPersistStreamInit::InitNew, in that this method tells the scripting engine to initialize itself. Note that it is not valid to call both IPersist*::InitNew or IActiveScriptParse::InitNew and IPersist*::Load, nor is it valid to call IPersist*::InitNew, IActiveScriptParse::InitNew, or IPersist*::Load more than once.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.