Add scripting to your application with Vbsedit !

IActiveScript::SetScriptSite

 

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
);

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.

Returns one of the following values:

Return Value

Meaning

S_OK

Success.

E_FAIL

An unspecified error occurred; the scripting engine was unable to finish initializing the site.

E_INVALIDARG

An argument was invalid.

E_POINTER

An invalid pointer was specified.

E_UNEXPECTED

The call was not expected (for example, a site was already set).


Add VBScript and Javascript scripting
to your application with VbsEdit !



Download Vbsedit

This package includes VbsEdit 32-bit and 64-bit.




Home  

Copyright © 2001-2022 adersοft