home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / com / tutsamp / readtut / readtut.txt < prev   
Encoding:
Text File  |  1997-08-05  |  3.0 KB  |  73 lines

  1.  
  2. READTUT - Tutorial Reading Utility.
  3.  
  4.  
  5. SUMMARY
  6. =======
  7.  
  8. The READTUT sample builds a simple READTUT.EXE application that is used as
  9. the main utility for reading the online tutorial for the COM Tutorial
  10. Samples. The TUTORIAL.EXE utility, found in the main tutorial directory,
  11. is produced in this sample. To do this, a copy of READTUT.EXE is simply
  12. renamed to TUTORIAL.EXE and placed in the main tutorial directory where it
  13. provides the main tutorial entry for the entire series. This lesson shows
  14. the technique used by each tutorial sample to read the tutorial page for
  15. that sample from within the running sample. This lesson also shows a very
  16. simple Win32 EXE application that links to the APPUTIL library and uses
  17. utility functions in it. APPUTIL is linked to and used in this manner
  18. throughout the tutorial sample series.
  19.  
  20. For functional descriptions and a tutorial code tour of READTUT, see the
  21. Code Tour section in READTUT.HTM. For details on the external user
  22. operation of READTUT, see both the Usage and Operation sections in
  23. READTUT.HTM. To read READTUT.HTM, run TUTORIAL.EXE in the main tutorial
  24. directory and click the READTUT lesson in the table of lessons. You can
  25. also achieve the same thing by clicking the READTUT.HTM file after
  26. locating the main tutorial directory in the Windows Explorer.
  27.  
  28. In general, to set up your system to build and test the code samples in
  29. this COM Tutorial series, see the global TUTORIAL.HTM file for details.
  30. The accompanying makefile (MAKEFILE) is Microsoft NMAKE-compatible. To
  31. create a debug build, issue the NMAKE command in the Command Prompt
  32. window.
  33.  
  34. Usage
  35. -----
  36.  
  37. READTUT.EXE is an application that you can run directly from Windows or
  38. from the Command Prompt. READTUT can be run in one of the following forms.
  39.  
  40.     READTUT
  41.       Launches the web browser to read file READTUT.HTM in the same
  42.       directory as the executing READTUT.EXE. If READTUT.EXE is renamed to
  43.       TUTORIAL.EXE then file TUTORIAL.HTM will be read in the same manner.
  44.  
  45.     READTUT MyHTMLFile.HTM
  46.       Launches the web browser to read file MyHTMLFile.HTM in the main
  47.       tutorial directory. This directory is assumed to be the parent of
  48.       the directory where READTUT.EXE is executing.
  49.  
  50.     READTUT MySiblingDir\MyHTMLFile.HTM
  51.       Launches the web browser to read MyHTMLFile.HTM in the MySiblingDir
  52.       directory that is a sibling to the directory where READTUT.EXE is
  53.       executing.
  54.  
  55.     READTUT //www.mycompany.com
  56.       Launches the web browser with URL internet address
  57.       http://www.mycompany.com.
  58.  
  59.  
  60. FILES
  61. =====
  62.  
  63. Files          Description
  64.  
  65. READTUT.TXT   This file.
  66. READTUT.HTM   Short sample HTML home page for testing READTUT.EXE.
  67. MAKEFILE      The generic makefile for building the code sample.
  68. READTUT.H     The include file for the READTUT application. Contains
  69.               string literals and Resource identifiers.
  70. READTUT.CPP   The main implementation file for READTUT.EXE. Has WinMain.
  71. READTUT.RC    The application resource definition file.
  72. READTUT.ICO   The application icon resource.
  73.