home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR9 / WIZTOO.ZIP / REGWIZ.MAN < prev    next >
Text File  |  1993-09-23  |  3KB  |  87 lines

  1.                                                           September 20, 1993
  2.                                                           Fairfield, Iowa
  3.  
  4.                 Register Wizard User's Manual
  5.  
  6. INSTALLATION:
  7.  
  8. The Register Wizard is distributed in a compressed file, WIZTOOLS.ZIP
  9. Use PKWARE's PKUNZIP to extract the contents of this file as follows:
  10.  
  11. c:\WIZTOOLS>PKUNZIP -d WIZTOOLS.ZIP
  12.  
  13. NOTE: The "-d" option creates two subdirectories,  ".\REGWIZ" and
  14.       ".\REGWIZ\EXAMPLE"
  15.  
  16.  
  17. REGISTER CHANNEL THEORY:
  18.  
  19. A Register provide a link for a server available to clients.  Clients use
  20. function Execute to invoke a server.  If no server is connected to the
  21. register than a default value is returned.
  22.  
  23. Servers use functions Connect and Disconnect make themselves available
  24. to clients.  If another server is already connected and a new server
  25. attempts to connect, then the new server is refused.
  26.  
  27. See the example to get a better understanding of this concept.
  28.  
  29.  
  30. REGISTER WIZARD USE:
  31.  
  32. The Register Wizard reads a channel specification file and generates
  33. four files:
  34.  
  35.     1) CHNNLDEF.H   -- Declares each channel specified as a class.
  36.     2) REGISTER.H   -- Declares class Register which includes methods
  37.                        for each register channel.
  38.     3) REGISTER.CPP -- Defines the class Register's methods.
  39.     4) APP.CPP      -- Code templates available for a programmer to use
  40.                        writing broadcast channel client and servers.
  41.  
  42. Usage: >REGWIZ <specification file name>
  43.  
  44. Each Register Channel is specified as a C++ function prototype in the
  45. channel specification file.  An entry in this file has the following format:
  46.  
  47. <register server function prototype> [default return value];
  48.  
  49. where: "[default return value]" is optional; it defaults to 0.
  50.  
  51. IMPORTANT: The function prototype used to declare a server
  52.            must include argument type specifiers AND argument names.
  53.            
  54. There can be up to 200 entries in the specification file.
  55.  
  56. Build your project with output file REGISTER.CPP    Include files
  57. CHNNLDEF.H and REGISTER.H when writing client/server modules.
  58.  
  59.  
  60. EXAMPLE:
  61.  
  62. If you unzipped the distribution file with the "-d" option then an example
  63. subdirectory ".\REGWIZ\EXAMPLE" was created.  Read file "README.TXT" in this
  64. subdirectory for an explanation of the example.
  65.  
  66.  
  67. SOURCE CODE:
  68.  
  69. If you unzipped the distribution file with the "-d" option then the Register 
  70. Wizard's source code was stored in subdirectory ".\REGWIZ"   The Wizard's 
  71. source code is supplied because you may want to modify this program to satisfy 
  72. your personal coding style. Read file "REGWIZ.TXT" in subdirectory ".\REGWIZ" 
  73. for a description of the design of the Wizard program. 
  74.  
  75.  
  76. SUPPORT:
  77.  
  78. For more information, contact:
  79.  
  80. Rob Buck
  81. The Aerosoft Company
  82. 51 N. Cromwell
  83. Fairfield, IA  52556
  84. (515) 472-7586
  85. CompuServe: 72260,3551
  86.  
  87.