Microsoft KB Archive/244032

= DOC: IControlContainer::GetControlParts Must Return the Private IUnknown of the Control =

Article ID: 244032

Article Last Modified on 10/28/1999

-

APPLIES TO


 * Microsoft Visual Basic for Applications (VBA) Software Development Kit (SDK) 5.0

-



This article was previously published under Q244032



SUMMARY
The documentation in the VBA 5.0 Host Integration Guide (page 100) indicates that the host's IControlContainer::GetControlParts implementation should return NULL for the private IUnknown interface of built-in controls.

This is incorrect.

Returning NULL for the private IUnknown interface of built-in controls causes VBA to crash. Always return the private IUnknown interface to avoid this problem.



MORE INFORMATION
Microsoft is aware of this problem, and has corrected the documentation in version 6.0 and higher of the VBA SDK.

Additional query words: VBASDK

Keywords: kbdocfix KB244032

-

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

© Microsoft Corporation. All rights reserved.