Informs the scripting engine of the IActiveScriptSite interface site provided by the host. Call this method before any other IActiveScript interface methods is used.

HRESULT SetScriptSite(
    IActiveScriptSite *pScriptSite  // address of host script site
);

Parameters

pScriptSite

[in] Address of the host-supplied script site to be associated with this instance of the scripting engine. The site must be uniquely assigned to this scripting engine instance; it cannot be shared with other scripting engines.

Expand imageReturn Value

Expand imageSee Also