

#C++ visual studio code example how to
Illustrates how ATL COM objects can be used in an MFC server EXE.ĭemonstrates how to build a windowed control using ATL.
#C++ visual studio code example windows
Shows how to use a thread pool in an application and how implementing a thread pool can improve the application's performance.ĭemonstrates how to call a COM object (implemented in a Windows service) from multiple clients, running on different machines. Illustrates the implementation and use of connection points (the IConnectionPointContainer and IConnectionPoint interfaces) in a multithreaded environment. Shows how to use the ATL security classes to examine security settings.ĭisplays the output generated by the ATLTRACE2 macro. ATL samples ATL samples - Advanced Sample nameĭemonstrates how to implement an Active Document Server.ĭownloads data asynchronously from a URL.Ĭreates a button that displays itself with three different bitmaps depending on its state.ĭemonstrates using connection points with ATL controls. Microsoft provides this sample code "AS IS" with no warranties.


We recommend that you add security and error-handling code to make your projects more secure and robust. It may not meet the security requirements for a specific environment, and it should not be used exactly as shown. This sample code is intended to illustrate a concept, and it shows only the code that is relevant to that concept.
