What exactly is a tear-off? Why you might want to use one, and how the ATL supports both regular and cached tear-off interfaces. Are they worth spending time on? In this article, Andrew teaches you everything you wanted to know about tear-off interfaces, but were afraid to ask.
Latest ATL & WTL Programming Articles - Page 12
Some COM clients - including scripting clients - can only access the default (dispatch) interface on an object. If your object wants to expose multiple interfaces to such clients, one solution is DISPID Encoding. This article shows how to do it with the ATL.
In his latest contribution, Andrew ponders the question posed by many of you brave enough to dive into the undocumented waters of WTL: When should I use WTL as opposed to ATL or MFC?. In doing so, he walks you through just how easy it is to create a "Hello World" windows application with WTL in order to give you some perspective on just how productive this template library can be
Think ATL is only for components? In Andrew's first installment of his new ATL/WTL column, he presents a complete tutorial (including two demos) on using the ATL windowing classes to write full-fledged Windows applications.
Nice tutorial on using ADO from an ATL component
Illustrates how to incorporate the MFC feature of DDX/DDV into your WTL applications!
Latest Developer VideosMore...
Latest CodeGuru Developer Columns
Quirky and yet persistent, C++ is a language that keeps programmers coming back to it. Pick up some new ways to wrangle it into your workflow.
Learn about something called "Google Protocol Buffers," and watch for later posts on other IoT subjects.
Learn how to use the simple, yet powerful, WndProc command and its associated methods to override various window and mouse functions.
Translation costs time and money, and can affect the quality of the product being made. Make sure all your team members speak the same language.