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.

LINQ to Objects Refresher

LINQ is not only for database access; it’s useful in all manner of scenarios. Read this quick refresher to learn more.

Top White Papers and Webcasts

  • Available On-Demand Today's changing workforce dynamics, economic challenges, and technological advances are placing immense pressure on business leaders to turn their focus on people – their most valuable asset – in order to remain competitive. Research shows that a significant number of new employees quit within one year of taking a new job*. Whether it's through a merger and acquisition, or standard hiring process, like any first impression, early experiences shape their opinions of their new …

  • Do you know where your data is? Consumer cloud-based file sharing services store your sensitive company data on servers outside of your control, outside of your policy and regulatory guidelines – maybe even outside your country – and not managed by you. The potential for data leakage, security breaches, and harm to your business is enormous. Download this white paper to learn about file sync and share alternatives that allow you to manage and protect your sensitive data while integrating and …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds