SECAScriptHost::CreateScriptEngine

Create the scripting engine of choice.

Defined in: ScriptHost.cpp

Syntax

CreateScriptEngine( CLSID clsidEngine )

CreateScriptEngine( ScriptLang lang )

Return Value

HRESULT as appropriate

Parameters

clsidEngine

CLSID of scripting language (CLSID_VBScript, CLSID_JScript, etc.)

lang

VBScript or JScript for simplicity.

Comments

Create the scripting model of choice.