Check out this illustration of the functions of COM Single Thread Apartment (STA), Multithread Apartment (MTA), and ATL Auto-thread Module with a testing client-server application.
Latest Apartments & Threading Articles
Understanding COM Apartments, Part I
In the first part of a two-part series on COM apartments, Jeff Prosise describes what apartments are, why they exist, and how to avoid the problems that they introduce.
Understanding COM Apartments, Part II
In the completion of his two-part series on understanding COM apartments, Jeff Prosise illustrates why the lessons learned in last month's discussion of COM apartments are so important by giving concrete examples of how this knowledge can help you develop better and more efficient COM applications.
Latest CodeGuru Developer Columns
Understanding the C++ Utility Components in the C++ Standard Library
Learn more about a few commonly used components and explore their utility and usages.

Top Programming Languages to Use for .NET Development
Take a look at some of the most popular languages to use within the .NET paradigm.

Using Common Visual Basic Maths Conversion Functions—Imperial to Metric
When you need to convert imperial to metric and vice versa, here are some formulas to keep on hand.
The Value of APIs
Application Programming Interfaces (APIs) are where you have to be. It's not a matter of if as much as a matter of which.