PRB: Project in PDK MMC Sample Does Not Build SnapIn ProperlyLast reviewed: March 17, 1998Article ID: Q182460 |
The information in this article applies to:
SYMPTOMSThe project file for the Microsoft Management Console (MMC) Sample located in the Platform SDK does not build and register the SnapIn properly. This article outlines steps you can take to modify the sample so that it will build and execute properly.
CAUSEThe sample is incomplete. The SnapIn that is created does not properly register itself.
RESOLUTIONYou need to take the key values described in the .ini files and convert them to registry script files. To do this, modify the project file as follows:
STATUSMicrosoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONExtension.ini Converted to a registry script file:
REGEDIT4 [HKEY_LOCAL_MACHINE\Software\Microsoft\MMC\SnapIns\{27E5EC4E-9F2D-11D0- A7D6-00C04FD909DD}] "NameString" = "Extension" [HKEY_LOCAL_MACHINE\Software\Microsoft\MMC\SnapIns\{27E5EC4E-9F2D-11D0- A7D6-00C04FD909DD}\StandAlone] [HKEY_LOCAL_MACHINE\Software\Microsoft\MMC\SnapIns\{27E5EC4E-9F2D-11D0- A7D6-00C04FD909DD}\NodeTypes] [HKEY_LOCAL_MACHINE\Software\Microsoft\MMC\SnapIns\{27E5EC4E-9F2D-11D0- A7D6-00C04FD909DD}\NodeTypes\{65ca8054-9f4d-11d0-a7d6-00c04fd909dd}] [HKEY_LOCAL_MACHINE\Software\Microsoft\MMC\SnapIns\{27E5EC4E-9F2D-11D0- A7D6-00C04FD909DD}\NodeTypes\{e5092d22-1d7e-11d0-a29b-00c04fd909dd}] [HKEY_LOCAL_MACHINE\Software\Microsoft\MMC\SnapIns\{27E5EC4E-9F2D-11D0- A7D6-00C04FD909DD}\NodeTypes\{e6092d22-1d7e-11d0-a29b-00c04fd909dd}] [HKEY_LOCAL_MACHINE\Software\Microsoft\MMC\NodeTypes\{44092d22-1d7e- 11d0-a29b-00c04fd909dd}] [HKEY_LOCAL_MACHINE\Software\Microsoft\MMC\NodeTypes\{44092d22-1d7e- 11d0-a29b-00c04fd909dd}\Extensions] [HKEY_LOCAL_MACHINE\Software\Microsoft\MMC\NodeTypes\{44092d22-1d7e- 11d0-a29b-00c04fd909dd}\Extensions\NameSpace] "{27E5EC4E-9F2D-11D0-A7D6-00C04FD909DD}" = "Sample extension snapin" [HKEY_LOCAL_MACHINE\Software\Microsoft\MMC\NodeTypes\{44092d22-1d7e- 11d0-a29b-00c04fd909dd}\Extensions\PropertySheet] "{27E5EC4E-9F2D-11D0-A7D6-00C04FD909DD}" = "Sample extension snapin"Sample.ini converted to a Registry script File:
REGEDIT4 [HKEY_LOCAL_MACHINE\Software\Microsoft\MMC\SnapIns\{18731372-1D79-11D0- A29B-00C04FD909DD}] = REG_SZ "PDC Sample Snapin" "NameString" = "Sample" [HKEY_LOCAL_MACHINE\Software\Microsoft\MMC\SnapIns\{18731372-1D79-11D0- A29B-00C04FD909DD}\About] = "{F0A1B9BE-A172-11D0-A7D7-00C04FD909DD}" [HKEY_LOCAL_MACHINE\Software\Microsoft\MMC\SnapIns\{18731372-1D79-11D0- A29B-00C04FD909DD}\StandAlone] [HKEY_LOCAL_MACHINE\Software\Microsoft\MMC\SnapIns\{18731372-1D79-11D0- A29B-00C04FD909DD}\NodeTypes] [HKEY_LOCAL_MACHINE\Software\Microsoft\MMC\SnapIns\{18731372-1D79-11D0- A29B-00C04FD909DD}\NodeTypes{44092d22-1d7e-11d0-a29b-00c04fd909dd}] [HKEY_LOCAL_MACHINE\Software\Microsoft\MMC\SnapIns\{18731372-1D79-11D0- A29B-00C04FD909DD}\NodeTypes{55092d22-1d7e-11d0-a29b-00c04fd909dd}] [HKEY_LOCAL_MACHINE\Software\Microsoft\MMC\SnapIns\{18731372-1D79-11D0- A29B-00C04FD909DD}\NodeTypes{66092d22-1d7e-11d0-a29b-00c04fd909dd}] REFERENCESHTTP://www.microsoft.com/management, Microsoft Management Console Web pages Microsoft Management Console Overview Document Microsoft Management Console PDK Samples
|
Additional query words: MMC, sample, extension
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |