Windows Template Library

This is an old revision of this page, as edited by Northgrove (talk | contribs) at 20:49, 18 October 2006 (Licensing update in WTL 7.5). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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.

Although Microsoft is generally critical of open source software, they made the source code of WTL freely available under an open source license. Releasing it under the Common Public License, Microsoft posted the source on SourceForge, an Internet repository for open-source code. As of version 7.5, the library was also dual licensed under the Microsoft Permissive License. [1]

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 "WTL Documentation" project [2] was started and now has a semi-complete documentation.