BUG: Restricted Function or Interface Error with IDispatch (190459)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q190459 SYMPTOMS
If an ActiveX DLL project is set to be binary compatible, and a class
module has the name "IDispatch," then any changes made to the module will
generate the following error:
Function or interface marked as restricted, or the function uses an
Automation type not supported in Visual Basic.
The above error occurs after the expected Incompatibility error message.
However, this error will not occur if neither the project's version
compatibility is binary nor the class module name is "IDispatch."
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. We are researching this bug and will post
new information here in the Microsoft Knowledge Base as it becomes
available.
Modification Type: | Major | Last Reviewed: | 5/13/2003 |
---|
Keywords: | kbbug KB190459 |
---|
|