Article ID: 103210 - Last Review: August 30, 2004 - Revision: 2.2

Designing DLLs for Multiple Client Applications

This article was previously published under Q103210
Expand all | Collapse all

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 Download Center:
Dllstrt2.exe (http://download.microsoft.com/download/platformsdk/article3/3.1/w31/en-us/dllstrt2.exe)
For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591  (http://support.microsoft.com/kb/119591/EN-US/ ) How to Obtain Microsoft Support Files from Online Services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.

APPLIES TO
  • Microsoft Windows Software Development Kit 3.1
Keywords: 
kb16bitonly kbfile kbsample KB103210
Retired KB ArticleRetired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
 

Article Translations