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 / register / register.txt < prev   
Text File  |  1997-08-05  |  2KB  |  53 lines

  1.  
  2. REGISTER - COM Server Registration Utility
  3.  
  4.  
  5. SUMMARY
  6. =======
  7.  
  8. The REGISTER sample builds a simple REGISTER.EXE utility that is used in
  9. subsequent code samples to invoke DLL- or EXE-housed COM servers and
  10. command them to register or unregister their components in the system
  11. registry.
  12.  
  13. For functional descriptions and a tutorial code tour of REGISTER, see the
  14. Code Tour section in REGISTER.HTM. For details on the external user
  15. operation of REGISTER, see both the Usage and Operation sections in
  16. REGISTER.HTM. To read REGISTER.HTM, run TUTORIAL.EXE in the main tutorial
  17. directory and click the REGISTER lesson in the table of lessons. You can
  18. also achieve the same thing by clicking the REGISTER.HTM file after
  19. locating the main tutorial directory in the Windows Explorer.
  20.  
  21. In general, to set up your system to build and test the code samples in
  22. this COM Tutorial series, see the global TUTORIAL.HTM file for details.
  23. The accompanying makefile (MAKEFILE) is Microsoft NMAKE-compatible. To
  24. create a debug build, issue the NMAKE command in the Command Prompt
  25. window.
  26.  
  27. Usage
  28. -----
  29.  
  30. REGISTER.EXE is an application that you can run directly from Windows or
  31. from the Command Prompt. REGISTER is usually run from the Command Prompt
  32. in one of the following forms:
  33.  
  34.     register myserver.dll       - To register the DLL server.
  35.     register /u myserver.dll    - To unregister the DLL server.
  36.     register /e myserver.exe    - To register the EXE server.
  37.     register /u /e myserver.exe - To unregister the EXE server.
  38.  
  39.  
  40. FILES
  41. =====
  42.  
  43. Files          Description
  44.  
  45. REGISTER.TXT   This file.
  46. MAKEFILE       The generic makefile for building the code sample.
  47. REGISTER.H     The include file for the REGISTER application. Contains
  48.                string literals and Resource identifiers.
  49. REGISTER.CPP   The main implementation file for REGISTER.EXE. Has WinMain
  50.                and CMainWindow implementation.
  51. REGISTER.RC    The application resource definition file.
  52. REGISTER.ICO   The application icon resource.
  53.