- Windows Template Library
The Windows Template Library (WTL) is a
free software , object-orientedC++ template library forWin32 development. WTL was created byMicrosoft employee Nenad Stefanovic for internal use and later released as an unsupported add-on toVisual Studio and the Win32 Framework SDK. It was developed primarily as a light-weight alternative to theMicrosoft Foundation Classes and builds upon Microsoft's ATL, another lightweight API widely used to create COM andActiveX libraries.Overview
WTL provides support for implementing various user interface elements, from frame and popup windows, to MDI, standard and common controls, common dialogs, property sheets and pages, GDI objects, and other common UI elements, such as scrollable windows, splitter windows, toolbars and command bars. WTL's main objective is to deliver small and efficient code, close in size and speed to "straight"
SDK programs while providing a higher-level and more flexible object model to developers. Other classes such as a string wrapper that is syntax-compatible with MFC'sCString
and some templated collections are also included.Most of the WTL API is a mirror of the standard Win32 calls, so the interface tends to be familiar to most Windows programmers. Although no official documentation from Microsoft exists, the "WTL Documentation Project" is attempting to create a comprehensive reference for the library. [ [http://www.viksoe.dk/code/wtldoc.htm WTL documentation project] ] . The WTL is not supported by Microsoft Product Support Services.
Licensing
While WTL is a template library and therefore code-based, the original license was similar to the one used for the
Microsoft Foundation Class Library (MFC) source code, although it contained no usage or distribution restrictions. In 2004 Microsoft made the completesource code available under theCommon Public License and released it throughSourceForge . Since version 7.5, the library is alsodual license d under theMicrosoft Permissive License .See also
*
Active Template Library References
External links
* [http://sourceforge.net/projects/wtl/ The SourceForge WTL project]
* [http://www.microsoft.com/downloads/details.aspx?FamilyID=48cb01d7-112e-46c2-bb6e-5bb2fe20e626&DisplayLang=en Microsoft's download page] for WTL 7.5
* [http://www.microsoft.com/downloads/details.aspx?familyid=E5BA5BA4-6E6B-462A-B24C-61115E846F0C&displaylang=en Microsoft's download page] for WTL 8.0
* [http://www.viksoe.dk/code/wtldoc.htm WTL Documentation] - An Effort to Create Documentation for the WTL Programming Library.
* [http://www.gamedev.net/reference/programming/features/wtl1/ "Using the Windows Template Library Part 1"]
* [http://www.gamedev.net/reference/programming/features/wtl2/ "Using the Windows Template Library Part 2"]
* [http://www.codeproject.com/wtl/wtl4mfc1.asp "WTL for MFC Programmers"] – A series of tutorials aimed at MFC programmers who want to start using WTL.
* [http://wtl.wikispaces.com/ The WTL Wiki] - A wiki dedicated to the Windows Template Library (WTL)
Wikimedia Foundation. 2010.