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


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


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


Include the Atl.dll file.


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.

ID do Artigo: 244955 - Última Revisão: 3 de jun de 2005 - Revisão: 1