************************* 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 = W for Windows 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: OCT96 C C++ Windows NT MFC VB Win95 16-bit registry VxD Description: The code listings for the October 1996 issue of Windows Developer's Journal include RegMon, the registry spy VxD (by Mark Russinovich and Bryce Cogswell), Dino Esposito's code fro giving 16-bit apps the Win95 look, and Tapani Otala's code to mark an app 4.0 at runtime. Due to its large size (2Mb zipped), Ed Benson's C-to-VB API converter is distributed only via our Web site at http://www.wdj.com/util.htm. ************************* FILE DESCRIPTION ********************************** The following files are included in the disk: FILENAME AUTHOR NAME TITLE PAGES ======== =========== ===== ===== esposito.zip Dino Esposito Access Win95 Features from 16-Bit Apps 6-13 includes: build.bat w16defs.h Listing 4: Header file for w16ext.c. w16ext.c Listing 2: How to access Win95 features. w16ext.def w16ext.h Listing 1: Definitions for accessing Win95 features. w16ext.rc Listing 3: Resource definitions for sample program. ----------------------------------------------------------------------------- otala.zip Tapani J. Otala Creating Dual-Version Apps for Win95/Win3.x 15-23 includes: demo.cpp demo.def demo.h demo.rc ewv.cpp Listing 2: Functions to update kernel structures. ewv.h Listing 1: Declarations for ewv.cpp. makefile.bc makefile.msc makefile.sc makefile.wc sampapp.cpp Listing 4: Changing versions from an app. sampdll.cpp Listing 5: Changing versions from a DLL. taskhelp.cpp Listing 3: Helper functions. ----------------------------------------------------------------------------- regmon.zip Mark Russinovich Examining the Windows 95 and Bryce Cogswell Registry 35-38 includes: appicon.ico ioctlcmd.h makefile readme.txt regmon.aps regmon.c regmon.def regmon.exe regmon.h regmon.mak regmon.map regmon.obj regmon.pdb regmon.rc regmon.res regmon.sup regmon.vcp regmon.vrc regvxd.def regvxd.exp regvxd.lib regvxd.map regvxd.pdb regvxd.res regvxd.sym regvxd.vrc regvxd.vxd resource.h ----------------------------------------------------------------------------- burk.zip Ron Burk Compiler Benchmark: Complex Numbers 39-41 includes: bench.cpp build.bat ----------------------------------------------------------------------------- zolman.zip Leor Zolman Tech Tips 43-54 includes: wrapocx.h Listing 5. draw.zip includes: draw.clw draw.cpp draw.def draw.h draw.ico draw.mak draw.mdp draw.ncb draw.odl draw.rc drawctl.bmp drawctl.cpp drawctl.h drawppg.cpp drawppg.h parkwnd.cpp parkwnd.h readme.txt resource.h stdafx.cpp stdafx.h zvbdlg.zip includes: generdoc.cpp generdoc.h generdoc.ico generic.clw generic.cpp generic.def generic.h generic.ico generic.mak generic.rc generic.rc2 genervw.cpp genervw.h mainfrm.cpp mainfrm.h readme.txt resource.h stdafx.cpp stdafx.h toolbar.bmp zspin.cpp Listing 4. zspin.h Listing 3. zvbdlg.cpp Listing 2. zvbdlg.h Listing 1. mdiicons.zip includes: afxcore.rtf afxprint.rtf appexit.bmp bullet.bmp curarw2.bmp curarw4.bmp curhelp.bmp editcopy.bmp editcut.bmp editpast.bmp editundo.bmp even.ico filenew.bmp fileopen.bmp fileprnt.bmp filesave.bmp hlpsbar.bmp blptbar.bmp icons.clw icons.cpp icons.def icons.h icons.hpj icons.ico icons.mak icons.rc icons.rc2 iconsdoc.cpp iconsdoc.h iconsdoc.ico iconsvw.cpp iconsvw.h list mainfrm.cpp mainfrm.h makehelp.bat odd.ico readme.txt recfirst.bmp reclast.bmp recnext.bmp recprev.bmp resource.h scmax.bmp scmenu.bmp scmin.bmp stdafx.cpp stdafx.h toolbar.bmp ----------------------------------------------------------------------------- tomlinsn.zip Paula Tomlinson Understanding NT: Services 55-59 includes: figure1.c Figure 1: Reader check for service control manager. startsrv.c Listing 2: Revised check for service control manager. wdjsrvc.c Listing 1: Sample service. ----------------------------------------------------------------------------- nelson.zip Mark Nelson Bug++ of the Month 60-62 includes: bug1096a.cpp Listing 1: Main module for extern inline bug. bug1096b.cpp Listing 2: Secondary module for extern inline bug. ----------------------------------------------------------------------------- sdkann.zip includes: anntater.exe mstater.exe sdkann.txt: An up-to-date collection of SDK annotations. ----------------------------------------------------------------------------- order.frm -- This file contains an order form which can be used to order books reviewed in the "Books in Brief" column or advertised in the Windows Developer's Bookshelf. You can complete the form and fax, mail, or email it to us, or use it as the basis for a phone order. ****************************************************************************** If you have questions regarding the code, please call or write us. ------------------------------------------------------------------------------ Miller Freeman, Inc. 1601 W. 23rd St. Suite 200 Lawrence, KS 66046 (913) 841-1631 email: wdletter@mfi.com www.wdj.com ------------------------------------------------------------------------------