home *** CD-ROM | disk | FTP | other *** search
/ APDL Public Domain 1 / APDL_PD1A.iso / program / basic / eventshell / Docs / ShareBan < prev    next >
Encoding:
Text File  |  1996-04-11  |  1.3 KB  |  38 lines

  1. This extension library should be installed using the
  2. LIBRARY command and initialised with a call to
  3. FN_shell_ShareBan_Init. This call must be made AFTER
  4. PROCshell_Init has been called.
  5.  
  6. This library contains routines that handle the display
  7. of a ShareWare start up banner to encourage registrations.
  8. It uses a 'User' file in the application directory and
  9. is based on an idea from Graham Crowe in the September
  10. 1995 Risc User, page 22 but with some cunning additions
  11. (I would say that wouldn't I).
  12.  
  13. In particular a registration number is encoded into the
  14. file and a FN is added to the application RunImage which
  15. must pass the same number back to disable the banner.
  16. This prevents anybody with a copy of the registration
  17. file generator from simply creating their own file as
  18. they won't know the code number in the original file -
  19. assuming of course that only the compressed version of
  20. your program is distributed....
  21.  
  22. --------------------------------------------------------
  23.  
  24. FN_shell_ShareBan_Init
  25. =>    None
  26.  
  27. <=    bool    TRUE if module initialised correctly
  28.          FALSE otherwise
  29.  
  30. --------------------------------------------------------
  31.  
  32. FNshell_ShareBan_GetUser
  33. =>    None
  34.  
  35. <=    str    name of registered user (for placing in
  36.          the 'About this program' dbox for example)
  37.  
  38. --------------------------------------------------------