Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

83 lines
3.0 KiB

  1. README.TXT
  2. BenefitsSvr Sample Readme
  3. Copyright (C) 1995-1998 Microsoft Corporation. All Rights Reserved.
  4. ======================================================
  5. Notes for BenefitsSvr
  6. ======================================================
  7. BenefitsSvr is an ATL-based snap-in component for use
  8. with the Microsoft Management Console.
  9. The BenefitsSvr sample demonstrates advanced implementations
  10. of version 1.0 and 1.1 MMC technologies. Version 1.1 of MMC is required
  11. to run this sample, this can be obtained from
  12. http://www.microsoft.com/management/mmc. For basic snap-in
  13. functionality or help on using the ATL Snap-In Wizard,
  14. please refer to the Microsoft Visual C++ 6.0 documentation.
  15. Some of the features that BenefitsSvr demonstrates are:
  16. * Extending the namespace
  17. * Adding unique node types
  18. * Enumerating nodes
  19. * Adding OCX support
  20. * Adding HTML support
  21. * Customizing results
  22. * Extending toolbars
  23. * Extending menus
  24. * Adding toolbar and menu command handlers
  25. * Adding property page support
  26. * Using property pages as snap-in wizards
  27. * Using Taskpads (select the "view web resources" menu item
  28. on the "health & dental plan" node)
  29. Implementation overviews and details, as well as
  30. architectural notes, are included in the BenefitsSvr Help
  31. system. With the BenefitsSvr snap-in inserted into the
  32. current MMC console, you can view context-sensitive
  33. and topical help using the F1 function key.
  34. To insert a BenefitsSvr snap-in into the current MMC
  35. console, choose "Add/Remove Snap-in..." from the
  36. "Console" menu. In the "Add/Remove Snap-in" dialog box,
  37. click "Add...". Click the "Benefits (ATL
  38. snap-in wizard sample)" list item and then click "OK" in
  39. the "Add Standalone Snap-in" dialog box.
  40. Click "OK" in the "Add/Remove Snap-in" dialog box to
  41. dismiss it. A BenefitsSvr snap-in node should now be
  42. displayed in your console.
  43. Microsoft Visual C++ 6.0 must be installed in order to
  44. build the BenefitsSvr sample. While a compiled binary is
  45. included with this sample, the source for a Microsoft
  46. Visual Basic 6.0 OCX is also included. If you wish to
  47. modify the OCX, you must have Visual Basic 6.0 installed.
  48. Proper registration of the BenefitsSvr sample and the
  49. included OCX is required for its proper function. While
  50. the BenefitsSvr is registered automatically by the Visual
  51. C++ 6.0 build process, the included OCX must be registered
  52. by hand. To register the OCX, move to the SampCtrl
  53. directory and type:
  54. regsvr32 SampCtrl.ocx
  55. After the process is complete, you should be presented with
  56. a dialog box confirming successful registration of the control.
  57. An item to be aware of, there have occasionally been some problems
  58. in getting the include directories in VC++ 6.0 correct. The first
  59. entry on your include list should be the MSSDK\include directory,
  60. followed by the MSSDK\include\atl30 directory. Furthermore, to
  61. get the help to function properly in this sample, you will have
  62. to copy BENSVR.CHM by hand to the directory in which the sample
  63. DLL is registered.