SAMPLE: Desiging DLLs for Multiple Client ApplicationsLast reviewed: February 15, 1996Article ID: Q103210 |
The information in this article applies to:
Designing DLLs for Multiple Client Applications, Part 2: Implementation David Long Microsoft Developer Network Technology Group Created: April 21, 1993
AbstractThis is a companion article to "Designing DLLs for Multiple Client Applications, Part 1: Strategy," also available on the Microsoft Developer Network CD. That article discusses various strategies for allowing Microsoft Windows dynamic-link libraries (DLLs) to provide services to multiple client applications. This article describes how the associated Grocery Shopper sample application implements some of the client-server strategies described in Part 1. It begins with an overview of the sample application's architecture, and then proceeds to analyze how the application programming interface (API) is implemented, how the DLL manages multiple clients, and how information hiding is enforced. Among the features of the sample code are registration and unregistration APIs, enumeration callbacks, delayed resource allocation, and custom event-notification messages. Download DLLSTRT2.EXE, a self-extracting file, from the Microsoft Software Library (MSL) on the following services:
|
Additional reference words: 3.10 softlib DLLSTRT2.EXE
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |