Writing MMC Snapin in Visual C++ 2005

Hello, I'm trying to write a MMC Snap-in extension using Visual C++ 2005 Beta 1. But different from Visual C++ 6.0, I couldn't find ATL object of MMC Snapin. It's not supported any more Where is the MMC Snap-in wizard then Any suggestions how shall I do that Thanks!

Answer this question

Writing MMC Snapin in Visual C++ 2005

  • Zaerion

    We have some MMC snap-in which is developped with VB6.0, could you please tell me if we can succeed migrate it to .NET2005 What kind of tool can achieve this if it is possible

    Thanks



  • aw52741

    Howdy. I found the docos for mmc3 here...

    http://msdn.microsoft.com/library/default.asp url=/library/en-us/mmc/mmc/microsoft_management_console_start_page.asp

    but unless I'm missing something, its beta doco, and there is no indication where to download the class libraries, or whether this will be part of Vista - could you please clarify (Specifically, I want to develop mmc snapins in c#

    - C++ is SO 20th century)

    TIA


  • Darren Baldwin

    Thanks for your reply Brandon.

    Do you know what microsoft plans for MMC's and the .NET framework For example will there be a .NET assembly (at some point) to allow us to create MMC snapins using .NET be it c#, c++ or VB As it feels like you guys are not endorsing the use of MMC snapins as you have made everything else a lot easier to code like DCOM but creating MMC's are still very "old school".

    Do you know of any functionality changes to MMC's in Longhorn

    Delboy

  • Daniel Ch. Bloch

    But anyway are there any ATL wizards for vc 2005 so that I'm able to use them to write a snapin in C++ not in any language so I can feel unlimited.


  • snowsquirrel

    Hi Jing,

    If you intend to code for MMC 2.1, the MMC team will provide a managed API so that any language targeting the CLR can interface with it. This means that there is no reason you should feel limited by language when deciding how you are going to write the snapin.

    I hope this helps,

  • Mike Lavender

    Visual Studio 2005 will not ship with this wizard.

  • Miguel Loureiro

    Thanks all for the helpful replies.

    I want to know whether it's not recommended to write MMC snapins in Visual C++2005 From the page of MSDN, it says "Some of the most common development environments are Microsoft Visual C++ 5.0 and 6.0, and Microsoft Visual Basic 6.0."

    And for the C++ samples on MSDN, it seems that not very much applicable for VC 2005.

    Thanks again.
    Jing


  • dimondlight

    Hi Jing,

    This question is specifically for C++ languages questions for the 2005 release.

    VS 2005 does not include the wizard for writing MMC snapins.

    The MMC SDK can be found at:
    http://msdn.microsoft.com/library/default.asp url=/library/en-us/mmc/mmc/microsoft_management_console_start_page.asp

    It contains C++ samples.

    I am also looking to see if there are any newsgroups or online resources for this and I will post a follow-up if I find anything.

    Ronald Laeremans
    Visual C++ team

  • JoelB2

    will there be a .NET assembly (at some point) to allow us to create MMC snapins
    See this description of Windows Server 2003 R2
    http://www.microsoft.com/technet/prodtechnol/windowsserver2003/r2/default.mspx

    Under "Other R2 Features" is says...

    Microsoft Management Console (MMC) 2.1

    Improved reliability and the ability to write snap-ins with much less code using the new Whidbey framework

    I haven't had time to try it myself yet but the Windows Server 2003 R2 beta can be downloaded from here...

    http://www.microsoft.com/windowsserver2003/R2/trial/default.mspx


  • SnakeLair

    Hi Ronald,

    When you say "VS 2005 does not include the wizard for writing MMC snapins.", does that mean that it does not currently support it but will do eventually or that there will never be a wizard for MMC snapins when VS2005 is finally released

    Cheers,

    Del

  • Writing MMC Snapin in Visual C++ 2005