- Active Template Library
The Active Template Library (ATL) is a set of template-based
C++ classes developed byMicrosoft that simplify the programming ofComponent Object Model (COM) objects. The COM support inMicrosoft Visual C++ allows developers to create a variety of COM objects,OLE Automation servers, andActiveX controls. [cite book
title = ATL COM
edition = 1st edition
chapter = ATL and COM
pages = pg. 6
last = Grimes
first = Richard
year = 1998
publisher = Wrox Press
id = ISBN 1-861002-4-91] [cite book
title = Beginning ATL 3 COM Programming
edition = 1st edition
chapter = Building and calling a COM object using ATL
pages = pg. 63
last = Grimes
first = Richard
year = 1999
publisher = Wrox Press
id = ISBN 978-1861001207] Patterned after theStandard Template Library (STL), ATL includes an object wizard that sets up primary structure of the objects very quickly with a minimum of hand coding.Controls for the Internet market could have been made with the
Microsoft Foundation Classes , but this market requires controls to be small and compact for downloading over the network from Web servers. MFC applications tend to be large and require support DLLs. [cite book
title = Visual C++ 6 Unleashed
edition = 1st edition
chapter = Active Documents
pages = pg. 733
last = Williams
first = Mickey
year = 2000
publisher = Sams
id = ISBN 978-0-672-31241-0] ATL allows creating smaller controls without support DLLs, so ATL is in a sense a lightweight alternative to MFC for the COM control environment.A common use of ATL in ASP (Active Server Pages) is to construct objects that can be called from a script. Whilst limited in certain respects,
VBScript is able to call C++ Windows code contained in a COM object.See also
*
ATL Server
*Component Object Model (COM)
*Microsoft Foundation Classes (MFC)
*OLE Automation
*Standard Template Library (STL)
*Windows Template Library (WTL)
*Microsoft Platform SDK References
Wikimedia Foundation. 2010.