DLLDLG DLL Dialog Box Sample:

DLGAPP Files:
-------------
ABOUT.C       -  Application About Box code
DLGAPP.C      -  Entry Point and Message Loop for application
DLGAPP.ICO    -  Icon For sample application
DLGAPP.RC     -  Resource file for sample application
DLGAPP.MAK    -  Makefile for sample application
DLGAPP.DEF    -  Module Definition File for sample application
GLOBAL.H      -  Global Declarations for the various modules
INIT.C        -  Instance and Application Initialization code
MAINWND.C     -  Main Window Procedure for sample application

DLLDLG Files:
-------------
DIALOG.DLG    -  Template for Dialog Box
DLLDLG.C      -  DLL Source code
DLLDLG.LIB    -  Import Library for DLL Routines
DLLDLG.H      -  Prototypes for DLL
DLLDLG.DEF    -  Module Definition file for sample DLL
DLLDLG.RC     -  Resource Script
DLL.MAK       -  Makefile for sample DLL
LIBENTRY.ASM  -  Entry code for DLL
WEPCODE.C     -  Code for WEP Routine for DLL

Misc. Files:
------------
README.TXT    -  This file
LEGAL.TXT     -  Disclaimer notice

Description:
-------------------------------------------------------------------
DLLDLG demonstrates the creation of a dialog box inside of a Dynamic
Link Library (DLL).  The DLL contains a routine which calls
DialogBox.  The DialogBox comes up and asks for some text.  When the
user enters text and hits the OK button, the text is displayed in a
MessageBox.

Because a DLL only has one instance, MakeProcInstance does not need
to be called for the Dialog Box procedure.  This sample shows this by
simply passing the function name to DialogBox.  

The hInstance passed to DialogBox is used to find the dialog box's
resource template.  Because of this, the hInstance passed to DialogBox
needs to point to the module that contains the dialog box's resource
template.  In the case of a DLL, this is the hInstance passed in
originally to LibMain. 

The make file for the DLL (DLL.MAK) also includes a demonstration of
how to attach resources to a DLL.  The folowing line will attach
the resources contained in DLLDLG.RES to DLLDLG.DLL:

	rc dlldlg.res dlldlg.dll
