The Windows Template Library (WTL) is an object-oriented Win32 encapsulation C++ library by Microsoft. The WTL supports an API for use by programmers. It was developed as a light-weight alternative to Microsoft Foundation Classes. WTL extends Microsoft's ATL, another lightweight API for using COM and for creating ActiveX controls. Though created by Microsoft, it is unsupported.
In an uncharacteristic move by Microsoft—an outspoken critic of open source software—they made the source code of WTL freely available. Releasing it under the open-source Common Public License, Microsoft posted the source on SourceForge, an Internet open-source repository. The SourceForge version is 7.5.
Most of the WTL API is a direct mirror of the standard Win32 calls, so the interface is familiar to most Windows programmers. Being an unsupported library, WTL has little formal documentation. Faced with this problem the project "WTL Documentaion"[1] was started and now has a semi-complete documentation.
External links
- The SourceForge WTL project
- Microsoft's download page for WTL 7.5
- WTL Documentation - An Effort to Create Documentation for the WTL Programming Library.
- "Using the Windows Template Library" article from GameDev.net, excellent introduction to library.
- "Getting Started with the Windows Template Library", another introduction
- "WTL for MFC Programmers" – A series of tutorials aimed at MFC programmers who want to start using WTL.
- The WTL Wiki - A wiki dedicated to the Windows Template Library (WTL)