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
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.
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
Learn to implement exception handling mechanism in C++.
Computer software used to be written for serial computation by a serial computer. Circumvent that concept and work in parallel streams.
With .NET Standard, you only have to master one platform, which will be able to run on all .NET platforms.
It's good practice to use code metrics to validate code; it will improve code quality and make your application maintainable and less complex.