![]() asm file.Īn extension of PrimesStep2 that adds a separate C header file and an. asm file.Ī pure C project that demonstrates the Sieve of Eratosthenes to find prime numbers.Īn extension of PrimesStep1 that is a mixed C and MASM project that moves the core algorithm to the. The core of Euclid's algorithm is moved from the. Implements an EXE server that doesn't have any user interface.ĭemonstrates an Automation server application with compiler COM support.Ĭompiler samples Compiler samples - General Sample nameĭemonstrates how to map C/C++ compiler flags from other compilers to the Visual C++ compiler (cl.exe).Ī pure C project that demonstrates Euclid's algorithm for finding the greatest common divisor.Īn extension of EuclidStep1 that is a mixed C and MASM project. Illustrates the use and implementation of connection points (the IConnectionPointContainer and IConnectionPoint interfaces) in a multithreaded environment.ĭemonstrates how to call a COM object (implemented in a Windows service) from multiple clients, running on different computers.ĭemonstrates a multithreaded client and free-threaded server with compiler COM support.ĭemonstrates an in-process Automation server application with compiler COM support. Implements a server using ATL, exposing STL collections, and controlled by compiler COM support in an MFC application. Implements a three-tier client/server application. NET functionality.ĭemonstrates some of the capabilities available when using the STL/CLR Library.Īdds dual interfaces to an Automation application. ![]() NET functionality.Ī Windows Forms implementation of the Scribble sample, updated and extended to include new. NET Framework Windows Forms classes.Īn MFC implementation of the Scribble sample, updated and extended to include new. Implements a simple pocket calculator using C++ and the. It also demonstrates some common Window Forms components. NET Framework resource mechanism can be used in C++ applications. Implements an updatable (read/write) OLE DB provider.ĬLR and language samples - Windows Forms Sample name Reads through a table in a database using multiple threads.ĪTL samples - OLEDB - Provider Sample name Shows how to use a custom memory allocator for CStringT to improve performance in a multithreaded application.ĭemonstrates using a connection point on dispatch interfaces.ĪTL samples - OLEDB - Consumer Sample nameĭisplays the schema information, such as tables and columns, of OLE DB providers.ĭemonstrates a mid-level application that relies on the CManualAccessor class to take full control of data bindings for your applications.ĭemonstrates using dynamic accessor and schema rowset classes to read metadata from a database. Implements a collection/enumeration of objects using ATL and the Standard C++ Library.ĭemonstrates COM interface map entry macros with compiler COM support. Implements a tear-off interface of a collection/enumeration of BSTRs. Shows how to create and maintain SAFEARRAYs using CComSafeArray also how to pass SAFEARRAYs from a component to script.ĭemonstrates using CComAutoThreadModule Class. Plays CD audio tracks and displays information about the tracks in tooltips and a pie chart display.Ĭreates a control that demonstrates property pages and draws a circle.īuilds a control that implements custom properties, events, property pages, and object safety.ĭemonstrates the use of ICollectionOnSTLImpl and CComEnumOnSTL, and the implementation of custom copy policy classes. Illustrates how ATL COM objects can be used in an MFC server EXE.ĭemonstrates how to build a windowed control using ATL. 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |