Help and Support

Designing DLLs for Multiple Client Applications

Article ID:103210
Last Review:August 30, 2004
Revision:2.2
This article was previously published under Q103210

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

Back to the top

Keywords: 
kb16bitonly kbfile kbsample KB103210

Article Translations

 

Other Support Options

  • Contact Microsoft
    Phone Numbers, Support Options and Pricing, Online Help, and more.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.