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



The information in this article applies to:

  • The Microsoft Active Template Library (ATL) 3.0, when used with:
    • Microsoft Visual C++, 32-bit Enterprise Edition 6.0
    • Microsoft Visual C++, 32-bit Professional Edition 6.0
    • Microsoft Visual C++, 32-bit Learning Edition 6.0

This article was previously published under Q244955

SYMPTOMS

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

CAUSE

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

RESOLUTION

Include the Atl.dll file.

STATUS

This behavior is by design.

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.

Modification Type:MajorLast Reviewed:6/3/2005
Keywords:kbtshoot kbContainer kbprb kbRegistry KB244955 kbAudDeveloper