Chapter 30. Creating COM Objects Using ATL
by Mickey Williams
In This Chapter
In this chapter, you'll look at creating custom COM objects using the Active Template Library (ATL). You'll learn how to use the Interface Definition Language (IDL) to define interfaces that go beyond the basic types supported by IDispatch. You'll examine how structures, enumerations, and unions can be passed over COM interfaces. And finally, you'll see an example of a COM client and server that pass structures and enumerations through a custom interface.
Using IDL to Describe Custom COM Objects
As discussed in Chapter 29, "ATL Architecture," you define COM interfaces by using the Interface Definition ...
Get Visual C++® 6 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.