Microsoft KB Archive/244494

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

Article ID: 244494

Article Last Modified on 11/19/1999

-

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



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

Additional query words: VBASDK

Keywords: kbbug kbpending KB244494

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.