************************* MASTER CODE ***************************************

The name of the first file in this disk's directory identifies the volume,
issue number and revision of the disk. The format of this filename is:

    !CDmvvii.rrr

where
    ! = the '!' character
    m =   C for C Users Journal, W for Windows/DOS Developer's Journal
    vv =  volume
    ii =  issue
    rrr = revision (001 for initial release, 002 for next update, etc.)

The file UPDATE.DOC contains information about any additions or
corrections to material on the disk since the original magazine
publication.

If you have obtained this code from a floppy diskette or from CompuServe, the 
headings under the column "FILENAME" represent the names of .ZIP files.  All 
files listed under the filename are archived in the .ZIP file.

Keywords:  JUL94 C C++ Windows DOS NT RTF WinHelp Undocumented custom resource

Description:  The code listings for the July 1994 issue of Windows/DOS
              Developer's Journal include source for David Spector's RTF
              preprocessor for building WinHelp files, Paula Tomlinson's
              reusable C++ class for NT event logging, Pete Davis's code to
              decompress the undocumented output of compress.exe, and
              Charles Leamon's code that uses custom resources to initialize
              dialog boxes.


*************************  FILE DESCRIPTION **********************************

The following files are included in the disk:

FILENAME        AUTHOR-NAME             TITLE                          PAGES
----------------------------------------------------------------------------

spector.zip     David Spector           An RTF Preprocessor             5-17
includes:
Listing 1 -- hlpmac.c. Source code to RTF preprocessor.
Listing 2 -- demo.mac. Sample input to RTF preprocessor.
Listing 3 -- demo.hpj. Sample help project file.
demo.bmp
demo.hlp
demo.rtf
hlpmac.exe



tomlinsn.zip    Paula Tomlinson         Using Windows NT Event Logging 19-32
includes:
Listing 1 -- eventmsg.c. Entry code for resource-only DLL.
Listing 2 -- eventmsg.mc. Example message table script.
Listing 3 -- eventmsg.h. Header generated by message compiler.
Listing 4 -- eventmsg.rc. Resource compiler instructions generated by 
                          message compiler.
Listing 5 -- eventlog.h. Interface for EventLog class.
Listing 6 -- eventlog.cpp. Source code for EventLog class.
eventapp.cpp
eventapp.h
eventapp.rc
eventlog.exe
eventlog.mak
eventmsg.dll
eventmsg.mak
msg00001.bin
msg00002.bin



leamon.zip      Charles Leamon          Using Custom Resources         37-43
includes:
Listing 1 -- populate.h. Interface to dialog-populating routines.
Listing 2 -- populate.c. Source for dialog-populating routines.
dialog.h
makefile
sample.c
sample.def
sample.h
sample.rc



wuiman.zip      Ron Burk                Practical C++: Windows
                                        Debugging Output               44-48
includes:
Listing 1 -- dbtrace.h. Definitions for debugging output.
Listing 2 -- dbtrace.c. Functions to implement debugging output.
ctl3d.c
ctl3d.h
makefile
readme.txt
regrtest.c
regrtest.h
regrtest.rc
test.c
test.def
test.rc
testrc.h
twuiman.ico
worklog.txt
wuiargs.h
wuidbint.c
wuidbint.h
wuierror.c
wuierror.h
wuilist.c
wuilist.h
wuiman.c
wuiman.h
wuiman.ico
wuiname.c
wuiname.h
wuiobjdb.c
wuiobjdb.h
wuistd.c
wuistd.h
w_atom.c
w_atom.h
w_dycall.c
w_dycall.h
w_hook.c
w_hook.h
w_uimain.c
w_uimain.h
w_uiprop.c
w_uiutil.c
w_uiutil.h



eddon.zip       Guy Eddon               Product Spotlight: TNT DOS
                                        DOS-Extender v6.1              49-58
includes:
Listing 1 -- parent.c. Code to spawn child process.
Listing 2 -- child.c. Demonstration child process.
Listing 3 -- threads.c. Code to demonstrate multithreading.
Listing 4 -- filemap.c. Mapping a file to memory.
Listing 5 -- calc.c. Example TNT DLL client application.
Listing 6 -- calcdll.c. Example TNT DLL code.
c.bat
calc.def
calc.lnk
calcdll.def
calcdll.lnk
foo.out



davis.zip       Pete Davis              Microsoft's Compression File
                                        Format                         59-64
includes:
Listing 1 -- decomp.h. Declarations for decompression program.
Listing 2 -- decomp.c. Source for decompression program.



bonneau.zip     Paul Bonneau            Windows Questions & Answers    69-73
includes:
Listing 1 -- isshell.c. Program Manager's shell detection algorithm.
Listing 2 -- isshell2.c. Improved shell detection algorithm.
Listing 3 -- endsnap.c. Revised version of EndSnap() for tear-off menus.



tips.zip        Ron Burk                Tech Tips:  Yielding from a
                                        VxD; A Windows Cold Boot       80-86
includes:
Listing 1 -- reboot.c. Rebooting by jumping into the BIOS.
Listing 2 -- reboot2.c. Rebooting via the keyboard controller.



******************************************************************************

If you have questions regarding the disk, please call or write us.

-----------------------------------------------------------------------------
                           R&D Publications, Inc.
                        1601 W. 23rd St. Suite 200
                            Lawrence, KS 66046
                              (913) 841-1631
-----------------------------------------------------------------------------

