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 Developer Videos
More...Latest CodeGuru Developer Columns
C++ Tips and Tricks
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.

Working with Google Protocol Buffers and .NET
Learn about something called "Google Protocol Buffers," and watch for later posts on other IoT subjects.

Working with Primes and Fibonacci Sequences in Visual Basic
Play with the Fibonacci sequence and prime numbers in this example-driven article.

Lesson Learned: The Need for a Domain Language
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.