Article ID: 182460 - Last Review: November 5, 2003 - Revision: 3.0 PRB: Project in PDK MMC Sample Does Not Build SnapIn ProperlyThis article was previously published under Q182460 SYMPTOMS
The 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.
CAUSE
The sample is incomplete. The SnapIn that is created does not properly
register itself.
RESOLUTION
You 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:
STATUS
Microsoft is researching this problem and will post new information here in
the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Extension.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"
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
(HTTP://www.microsoft.com/management)
Microsoft Management Console PDK Samples
| Article Translations
|
Back to the top
