Microsoft KB Archive/247784
Article ID: 247784
Article Last Modified on 1/7/2006
- Microsoft Visual C++ 5.0 Professional Edition
- Microsoft Visual C++ 6.0 Professional Edition
- Microsoft Visual C++ .NET 2002 Standard Edition
- Microsoft Visual C++ .NET 2003 Standard Edition
- Microsoft Visual C++ 2005 Express Edition
This article was previously published under Q247784
Note Microsoft Visual C++ .NET 2002 and Microsoft Visual C++ .NET 2003 support both the managed code model that is provided by the Microsoft .NET Framework and the unmanaged native Microsoft Windows code model. The information in this article applies only to unmanaged Visual C++ code. Microsoft Visual C++ 2005 supported both the managed code model that is provided by the Microsoft .NET Framework and the unmanaged native Microsoft Windows code model.
When you use the ActiveX Scripting interface to host an ActiveX Script Engine, the following methods may return an undocumented error code 0x80020101:
The HRESULT 0x80020101 translates to SCRIPT_E_REPORTED. This error can be observed when a scripting component fails under MTS.
When an ActiveX Script Engine, such as VBScript or JScript, encounters an error it attempts to report the error to its script host by calling one of the following methods:
After one of these methods is called, the script engine must also return an HRESULT from the method that was called when the error occurred. To warn the script host that the error has already been reported, and to ensure that a single error does not result in more than one notification, the script engine returns SCRIPT_E_REPORTED. This indicates that the error has already been handled and the host need not take further action.
Additional query words: 0x80020101
Keywords: kberrmsg kbinfo kbtshoot kbactivexscript kbprb KB247784