Latest com-tech Articles - Page 21

COM Security Primer, Part I

In the first of a two-part series, Jeff Prosise covers the all-important issues of COM security in terms of activation security and access security.

ATL DISPID Encoding

Some COM clients, including scripting clients, can only access the default (IDispatch) interface on an object. If your object wants to expose multiple interfaces to such clients, one solution is DISPID Encoding. In this week's ATL article, Andrew illustrates one technique for accomplishing this.

ATL Tear-Off Interfaces

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.

Containment and Aggregation

Andrew illustrates the underlying mechanics of aggregation vs. containment in ATL, why you'd want to choose one technique over the other, and how each is supported by the ATL through macros and classes.

Dispinterface vs. Events and Runtime Sinks

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.

Latest Developer Videos

More...

Latest CodeGuru Developer Columns

MFC Integration with the Windows Transactional File System (TxF)

The Transactional File System (TxF), which allows access to an NTFS file system to be conducted in a transacted manner through extensions to the Windows SDK API. MFC 10, has been extended to support TxF and related technologies. This support allows existing MFC applications to be easily extended to support kernel transactions.

Top White Papers and Webcasts

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds