Home Courseware Course Listing Instruction Philosophy Clients Publications Résumé |
Custom DCOM Interfaces using ActiveX Template LibrarySummary: In contrast to most classes on COM/OLE/ActiveX that focus on the graphical user interface (such as controls, drag & drop etc...), this class focuses on creating custom COM interfaces with the ActiveX Template Library (ATL) for distributed asynchronous computing.
Course Outline: MFC v. ATL Why use ATL? When to use ATL? The Problem COM Solves Interface Theory Components HRESULTS, GUIDS, Registry Basic Concepts Usage Counts ProgIDs & CLSID Create a Client for Custom COM interface Identify the necessary function calls Implement a client Registering DLL COM Servers GUIDGEN COM Replacements for new and delete EXE Servers v. DLL Servers Class Factories Loading DLL Unloading DLLs Overloaded Operators C++ Wrappers: ATL and C++ built-in features Dispatch Maps Adding Objects, Controls & Interfaces C++ v. COM Implementing Containment in COM Implementing Aggregation in COM The Two IUnkowns Usage Counting Blind Aggregation v. Closed Supporting IDispatch & IErrorInfo The Tear-Off Interface Creating ATL ActiveX Controls with No User Interfaces Using ATL COM objects in an MFC Server Using CComEnum, _Copy, CcomIEnum & CcomIEnumImpl Enabling QueryInterface & Reference Count Debugging Win95 Services v. NT Services Implementing Services using ATL: Start, ServiceMain, Run, Handler Registry Entries The Registrar Scripting Language Syntax Replaceable Parameters Invoking Scripts Setting up a Static Link Proxy/Stubs & Marshalling The Microsoft Interface Description Language Implementing a Local Server Remote Procedure Calls with DCOM Function Invoke Automation Parameters SAFEARRAY BSTR Converting Types Dual Interfaces with ATL Strategies for Implementing Automation Marshalling Synchronization Events Mutexes Semaphore Critical Sections MFC Containers Kinds of Threads Worker Threads User Interface (UI) Threads Thread Communication Fibers Using the TLS services for thread local memory Using the compiler directive for thread local memory Managing UI threads with a new class: ThreadFactory Out of Process Components Marshalling and Synchronization Automatic v. Manual Marshalling Apartment Threading with COM Free Threading with COM Threading Registry Keys
Please contact Sieg to arrange for rapid, custom courseware development, or to inquire about his availability to deliver training to your organization: Phone 303-494-5509, Email siegfried@heintze.com. Siegfried Heintze (303) 494-5509 www.heintze.com siegfried@heintze.com |