Designing DLLs for Multiple Client Applications

ID: Q103210


The information in this article applies to:
  • Microsoft Windows Software Development Kit (SDK) 3.1


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 files are available for download from the Microsoft Download Center. Click the file names below to download the files:


Dllstrt2.exe

For more information about how to download files from the Microsoft Download Center, please visit the Download Center at the following Web address

http://www.microsoft.com/downloads/search.asp
and then click How to use the Microsoft Download Center.

For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:
Q119591 How to Obtain Microsoft Support Files from Online Services

Additional query words: kbfile softlib DLLSTRT2.EXE

Keywords : kbfile kbsample kb16bitonly kbWinOS310
Version : WINDOWS:3.1
Platform : WINDOWS
Issue type :


Last Reviewed: December 3, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.