Add scripting to your application with Vbsedit !

IActiveScriptError::GetSourceLineText

 

Retrieves the line in the source file where an error occurred while a scripting engine was running a script.

HRESULT GetSourceLineText(
    BSTR *pbstrSourceLine  // address of buffer for source line
);

pbstrSourceLine

[out] Address of a buffer that receives the line of source code in which the error occurred.

Returns S_OK if successful, or E_FAIL if the line in the source file was not retrieved.


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