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

ID: Q244032


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


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 kbSDKVBA kbGrpDSO kbDSupport
Version : winnt:5.0
Platform : winnt
Issue type :


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