December 1996 Dr. Dobb's Journal PTF.ASC Title: DCE PTHREADS VERSUS NT THREADS Keywords: DEC96 NT UNIX DCE THREADS Published source code accompanying the article by Michael Yam in which he ports PTF, a C++ class library for DCE pthreads, from HP-UX System 9 to Windows NT. In doing so, he examines the differences between pthreads and NT threads, and describes the porting experience. Also see PTF.ZIP PTF.ZIP Title: DCE PTHREADS VERSUS NT THREADS Keywords: DEC96 NT UNIX DCE THREADS Unpublished source code accompanying the article by Michael Yam in which he ports PTF, a C++ class library for DCE pthreads, from HP-UX System 9 to Windows NT. In doing so, he examines the differences between pthreads and NT threads, and describes the porting experience. Requires PKUNZIP.EXE to extract. WINHELP.ZIP Title: INSIDE THE WINHELP() API Keywords: DEC96 WINDOWS PORTING HELP Unpublished source code accompanying the article by Paul Kissel in which he builds a platform-independent implementation of the WinHelp() function. Requires PKUNZIP.EXE to extract. VAUDIO.ASC Title: VIRTUAL AUDIO THROUGH RAY TRACING Keywords: DEC96 AUDIO Published source code accompanying Tom Zudock's article on virtual audio. Tom focuses on how you determine the early reflections generated by a sound source that reach a listener in a simple room. Also see VAUDIO.ZIP. VAUDIO.ZIP Title: VIRTUAL AUDIO THROUGH RAY TRACING Keywords: DEC96 AUDIO Unpublished source code accompanying Tom Zudock's article on virtual audio. Requires PKUNZIP.EXE to extract. LUA.ASC Title: LUA: AN EXTENSIBLE EMBEDDED LANGUAGE Keywords: DEC96 SCRIPTING LANGUAGE Published source code accompanying the article by Luiz Henrique de Figueiredo, Roberto Ierusalimschy, Waldemar Celes in which they discuss Lua, a freely-available, general-purpose embedded programming language designed to support procedural programming with data-description facilities. It code compiles without change in most ANSI C compilers, including gcc (on AIX, IRIX, Linux, Solaris, SunOS, and ULTRIX), Turbo C (on DOS), Visual C++ (on Windows 3.1/95/NT), Think C (MacOS), and CodeWarrior (MacOS). VBTHR.ASC Title: MULTITHREADING AND VISUAL BASIC Keywords: DEC96 VISUAL BASIC MULTITHREADING Published source code accompanying Dino Esposito's article in which he presents techniques for implementing multithreading under Visual Basic (which does not support native multithreading). Also see VBTHR.ZIP. VBTHR.ZIP Title: MULTITHREADING AND VISUAL BASIC Keywords: DEC96 VISUAL BASIC MULTITHREADING Unpublished source code accompanying Dino Esposito's article in which he presents techniques for implementing multithreading under Visual Basic (which does not support native multithreading). Requires PKUNZIP.EXE to extract. TGIDGI.ASC Title: EXTENDING HTTP SERVERS WITH DGI AND TGI Keywords: DEC96 SERVER HTTP INTERNET WWW Published source code accompanying Andrew Montefusco's article which implements two alternatives to CGI for use in his HTTPD2 server. The alternatives are Task Gateway Interface (TGI) and Dynamic Gateway Interface (DGI). Both approaches avoid the overhead of starting a new process for each separate request. Also see TGIDGI.ZIP. TGIDGI.ZIP Title: EXTENDING HTTP SERVERS WITH DGI AND TGI Keywords: DEC96 SERVER HTTP INTERNET WWW Unpublished source code accompanying Andrew Montefusco's article which implements two alternatives to CGI for use in his HTTPD2 server. The alternatives are Task Gateway Interface (TGI) and Dynamic Gateway Interface (DGI). Both approaches avoid the overhead of starting a new process for each separate request. Requires PKUNZIP.EXE to extract. WINBATCH.ASC Title: EXAMINING THE WINBATCH TOOLKIT Keywords: DEC96 NETWORKS BATCH LANGUAGE Published source accompanying Dot Schryver's article that describes WilsonWare's WinBatch Toolkit, which provides traditional batch-language file-management capabilities, is based on a structured programming model. VFP.ASC Title: WEB PROGRAMMING WITH VISUAL FOXPRO Keywords: DEC96 WWW DATABASE VISUAL PROGRAMMING Published source accompanying George F. Goley's article on Visual FoxPro, a cross-platform, visual tool for database development which includes a number of wizards. Here, George uses the WWW Search Page Wizard to run Visual FoxPro programs across the Internet. AA1296.ZIP Title: ALGORITHM ALLEY Keywords: DEC96 ALGORITHMS TEXTURES Unpublished source code accompanying Rafael Collantes-Bellido's use of differential equations to produce natural-looking textures. Requires PKUNZIP.EXE to extract. UD1296.ZIP Title: UNDOCUMENTED CORNER Keywords: DEC96 MFC UNDOCUMENTED UI Unpublished source code accompanying George Shepherd and Scot Wingo's column on the undocumented areas of CSplitterWnd, one of the most complicated and confusing of all MFC classes. Requires PKUNZIP.EXE to extract. CPROG126.ASC Title: C PROGRAMMING COLUMN Keywords: DEC96 C C++ WINDOWS UNDO Published source code accompanying Al Stevens column in which he builds presents a generic UnDo class library. JAVAQ&A.ZIP Title: JAVA Q&A Keywords: DEC96 JAVA UI AWT DRAG-AND-DROP FTP Unpublished source code accompanying Cliff Berg's column in which he presents a technique for building a drag-and-drop interface using standard AWT components. In doing so, he builds an application which lets end-users perform a host-to-host file transfer. Requires PKUNZIP.EXE to extract. 3