SAMPLE: Designing DLLs for Multiple Client Applications

ID: Q103210

The information in this article applies to:

SUMMARY

This 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 deregistration APIs, enumeration callbacks, delayed resource allocation, and custom event-notification messages.

MORE INFORMATION

The following file is available for download from the Microsoft Software Library:

 ~ DLLSTRT2.EXE (size: 37403 bytes) 

For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q119591
   TITLE     : How to Obtain Microsoft Support Files from
               Online Services

Additional query words: kbfile softlib DLLSTRT2.EXE
Keywords          : kbsample kb16bitonly kbWinOS310 
Version           : 3.10
Platform          : WINDOWS

Last Reviewed: December 11, 1998