Microsoft KB Archive/297378

{|
 * width="100%"|

SAMPLE: MMC &quot;Hello World&quot; Snap-in in C++

 * }

Q297378

-

The information in this article applies to:


 * Microsoft Management Console, version 2.0
 * Microsoft Visual C++ Standard Edition, version 6.0
 * Microsoft Visual C++, 32-bit Editions, version 6.0

-

SUMMARY
The sample project that is provided through this article (the &quot;Hello World!&quot; snap-in) demonstrates a simple snap-in. The basic architecture of this snap-in can be used as the basis of more complex projects. This project provides a basic architecture that is based on a delegation model that is suitable for enterprise quality Microsoft Management Console (MMC) applications.

The file Mmc_simple.exe, provided through this article, contains the Microsoft Visual C++ source files to build a functioning MMC 2.0 snap-in in C++.

MORE INFORMATION
The following file is available for download from the Microsoft Download Center:

"Mmc_simple.exe" Release Date: May-25-2001

For additional information about how to download Microsoft Support files, click the article number below to view the article in the Microsoft Knowledge Base:

"Q119591 How to Obtain Microsoft Support Files from Online Services" Microsoft used the most current virus detection software available on the date of posting to scan this file for viruses. Once posted, the file is housed on secure servers that prevent any unauthorized changes to the file.

The Mmc_simple.exe file contains the following files:

To build the project, expand Mmc_simple.exe and open Simple.dsw in Visual C++ version 6.0 or later. The resulting snap-in runs only on MMC 2.0. MMC 2.0 is available with Windows XP or Whistler Beta 2. Also required are the MMC 2.0 header files and libraries from the Microsoft Platform Software Development Kit (SDK) for Whistler Beta 1 or later.

Additional query words: MMC_Simple MMC_Samples2

Keywords : kbfile kbMMC200 kbDSupport

Issue type : kbinfo

Technology : kbVCsearch kbAudDeveloper kbMMCSearch kbMMC200 kbVC600 kbVC32bitSearch