************************* 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: MAR95 C C++ Windows OpenFile Undocumented .wav multitasking Description: The code listings for the March 1995 issue of Windows/DOS Developer's Journal include Robert Mashlan's reusable code for playing .wav resources, Ton Plooy's demonstration of the undocumented Multimedia multitasking function, Paul Bonneau's code to generate window boundary events, and Mark Gamber's OpenFile() hook to print timestamps. ************************* FILE DESCRIPTION ********************************** The following files are included in the disk: FILENAME AUTHOR-NAME TITLE PAGES ---------------------------------------------------------------------------- plooy.zip Ton Plooy The Undocumented Multimedia Multitasking Function 6-20 includes: bldtask.bat mmtask.h Listing 1: Declarations for undocumented multimedia functions. tasktest.c Listing 2: Testing the MMTaskCreate() function. tasktest.def Listing 5: Module definition file for tasktest.exe. tasktest.h Listing 4: Resource IDs for tasktest.exe. tasktest.rc Listing 3: Resource definitions for tasktest.exe. nelson.zip Mark Nelson Bug++ of the Month 21-22 includes: bug011.cpp Listing 1: Code demonstrating Visual C++ v2.0 constructor problem. mashlan.zip Robert Mashlan Using Wave File Resources 23-32 includes: asyncwav.c Listing 1: Source code for AsyncWave(). asyncwav.rc Listing 3: Resource definitions for demonstration program. asyncwav.rh Listing 4: Menu IDs for demonstration program. awtest.c Listing 2: Demonstration program for AsyncWave(). awtest.def Listing 5: Module definition file for awtest.exe. bldasync.bat ding.wav gamber.zip Mark Gamber A Common Dialog "File Open" Hook 39-44 includes: bldhook.bat cdlghook.c Listing 1: Demonstrating common dialog hooks. cdlghook.def cdlghook.rc zolman.zip Leor Zolman Tech Tips 51-58 includes: bldmsg.bat dialog.rc Listing 1: Dialog definition for timed message box. forfiles.c Listing 5: Source for FORFILES utility. msg_box.c Listing 2: Source code for timed message box. msg_box.h Listing 3: Interface to timed message box. msg_test.c msg_test.def msg_test.h msg_test.rc msg_test.rh testinst.c Listing 4: Testing global instance handle. bonneau.zip Paul Bonneau Questions and Answers 59-69 includes: bldmouse.bat mousetrk.c Listing 1: Source for mouse tracking DLL. mousetrk.def mousetrk.h Listing 2: Registered window message for mouse tracking. square.c trkdemo.c Listing 3: Demo program for mouse tracking message. trkdemo.def zip.bat zipcode.bat letters.zip Alessandro Vesely Readers' Forum 81-88 includes: vcbuglet.c Listing 1: Alessandro Vesely's VC++ bug. sdkann.zip -- 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/DOS Developer's Bookshelf. You can fill the form out and fax, mail, or email it to us, or use it as the basis for a phone order. ****************************************************************************** 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 -----------------------------------------------------------------------------