Export (0) Print
Expand All

SCRIPTPROP_HOSTKEEPALIVE Property

Used to specify whether or not the scripting engine should be kept fully functional if there are outstanding references.

Use IActiveScriptProperty::SetProperty to set this property to true. If this property is set to true, the scripting engine is kept fully functional as long as there is at least one outstanding reference either to the scripting engine itself or to an IDispatch pointer to a JavaScript object created by using the scripting engine. When this property is set to true, you should not explicitly close or reset the script engine by using the IActiveScript::Close or IActiveScript::SetScriptState methods. The release of the last reference to a script object shuts the script engine down.

#define SCRIPTPROP_HOSTKEEPALIVE 0x70000004

This property appears only in the Windows 8 version of activscp.idl.

Show:
© 2015 Microsoft