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
C++ Exception Handling: How to Handle Exceptions in C++
Learn to implement exception handling mechanism in C++.

C# UWP: Checking for Platform Extensions at Runtime
Windows 10 introduces UWP apps and the Universal Windows Platform, which provide a guaranteed core API layer. Leverage the UWP in your coding.

Creating a Tile Slide Puzzle Game in VB.NET
Create a Tile Slide game with Visual Basic.NET.
Programming Devices and Activities from the Microsoft Graph APIs
With Microsoft's new Project Rome, the user experience across all platforms (Windows, iOS, or Android) will be seamless among different hardware.