BUG: Overloaded Names in a Type Library Cause APC to Crash (244494)
The information in this article applies to:
- Microsoft Visual Basic for Applications (VBA) Software Development Kit (SDK) 6.0
- Microsoft Visual Basic for Applications (VBA) Software Development Kit (SDK) 6.1
This article was previously published under Q244494 SYMPTOMS
The Microsoft Application Programmability Component (APC) might crash when given a type library that contains overloaded members, such as the following:
interface A
{
HRESULT Foot([in] INT x);
};
interface B : A
{
HRESULT Foot([in] INT x, [in] INT y);
};
While this syntax can be handled by the MIDL compiler, APC fails if presented with the resulting type library.
RESOLUTION
To resolve this problem, remove the duplicate names from the IDL file:
interface A
{
HRESULT Foot([in] INT x);
};
interface B : A
{
HRESULT Foot2([in] INT x, [in] INT y);
};
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 11/19/1999 |
---|
Keywords: | kbbug KB244494 |
---|
|