Microsoft KB Archive/244955

= ATL projects built for MinDependency need Atl.dll if the projects use ATL control containment code in Visual C++ 6.0 =

Article ID: 244955

Article Last Modified on 6/3/2005

-

APPLIES TO

 Microsoft ActiveX Template Library 3.0, when used with:  Microsoft Visual C++ 6.0 Enterprise Edition

 Microsoft Visual C++ 6.0 Professional Edition

 Microsoft Visual C++ 6.0 Standard Edition 

-

<div class="notice_section">

This article was previously published under Q244955

<div class="symptoms_section">

SYMPTOMS
ATL projects built for MinDependency will still need Atl.dll if they use ATL control containment code.

<div class="cause_section">

CAUSE
ATL's control containment implements interfaces that are described by the type library in Atl.dll.

<div class="resolution_section">

RESOLUTION
Include the Atl.dll file.

<div class="status_section">

STATUS
This behavior is by design.

<div class="moreinformation_section">

MORE INFORMATION
ATL's control containment implements two dual interfaces, IDocHostUIHandlerDispatch and IAxWinAmbientDispatch, as a part of the control container. Because the dual interfaces are implemented using IDispatchImpl, they delegate to the type library for implementation of IDispatch methods. This requires the type library describing these interfaces to be registered. This type library exists in Atl.dll.

Additional query words: IDocHostUIHandlerDispatch, IAxWinAmbientDispatch IDispatchImpl static

Keywords: kbtshoot kbregistry kbcontainer kbprb KB244955

-

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

© Microsoft Corporation. All rights reserved.