BUG: Overloaded Names in a Type Library Cause APC to Crash

ID: Q244494


The information in this article applies to:
  • Microsoft Visual Basic for Applications (VBA) Software Development Kit (SDK), versions 6.0, 6.1


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


STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.

Additional query words: VBASDK

Keywords : kbSDKVBA kbGrpDSO kbDSupport
Version : winnt:6.0,6.1
Platform : winnt
Issue type : kbbug


Last Reviewed: November 17, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.