menu for Win32 native deployment

So what I've found out, mfc cannot be used in Express Beta 2.

Windows Forms Designer makes a wonderful app., but is only .NET

Can any of the other Express Beta products allow me to make a simple menu that can be deployed natively without the .NET framework

I read somewhere else that Visual Express Beta 2 cannot do anything except .NET
Is this true or can I make my menu with that


Answer this question

menu for Win32 native deployment

  • omhoge

     MichaelChesapeake wrote:

    Here is more specifically what I am trying to make:
    A rather simple windows Menu, that will essentially be a gui with buttons to call up other applications, and various other message windows.

    ...

    The problem that I am having is that anytime I try and run it on a target machine, it's still insisting on .NET. The closest I came was needing the mcvsr80d.dll


    First of all, you need to understand what parts of your applications are managed code what are native code. In one sentence, managed code is code that runs in .Net Framework. .Net Framework, for example, is native because it runs in OS. This show may be a nice intro into what is managed code,  http://msdn.microsoft.com/theshow/episode.aspx xml=theshow/en/Episode035/manifest.xml, plus http://msdn.microsoft.com/netframework/technologyinfo/overview/default.aspx
    For C++ applications simplest way to find out if your code is managed code or not, is to check for /clr compiler switch, http://msdn.microsoft.com/library/default.asp url=/library/en-us/vccore/html/vcrefEECOMCompilation.asp

    Now, if you code is managed, then in order to run, .Net Framework has to be present. In other words, if you applicatin uses managed code, .Net Framework has to be installed on any computer where this application is going run.

    If you code is native, then you need to redistribute VC++ Dlls. Not all of them can be redistribute, list of them you can find in the EULA and redist.txt.
    Then you need to understand supported way of redistributing  VC++ Dlls. Good discussion of this happened on this topic, http://forums.microsoft.com/msdn/ShowPost.aspx PostID=52788. This should answer most of your questions, feel free to ask me otherwise.

     MichaelChesapeake wrote:

    How can I deploy a Window gui with Express products to run natively
    Will Visual Basic Express deploy non-.NET

    If this is C++ application in native code that uses only Win32, then yes, it can be redistributed without .Net Framework. VB uses Winforms that depend on .Net Framework, so answer is no.

     MichaelChesapeake wrote:

    There is no setting when starting a project to specify what environment you're targeting

    Yes. Is this C# or VB Then you are targetting .Net. If this CLR project in Visual C++, then you are targetting .Net.  If this is Win32 Console Application, then it is native code. If you changed Win32 project to /subsystem:windows, added messageloop, winmain, then you have native Win32 Windows application. Both do not need .Net Framework to run and can be redistributed without .Net Framework.

    Nikola

  • Egyptian

    Hi,


    Visual C++ Express is targetting development of C++ applications that use C Runtime Library and C++ Standard libraries on the native side. Plus of course it supports development of applications for .Net.  MFC and ATL and you need to install Standard, Pro or Team System versions of Visual Studio. However it is still possible to develop Win32 applications after you install Platform SDK. Platform SDK can be download from http://www.microsoft.com/downloads/details.aspx FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en and then integrated with Express following steps described in this topic http://forums.microsoft.com/msdn/ShowPost.aspx PostID=2995. After you installed PSDK and integrated it with Express, you can build any kind of Win32 applications.

    Nikola
    VC++

  • ag35c

    Thank you.
    I have indeed already installed that platfrom SDK, and set it up according to the topic you linked to.

    The problem that I can't seem to get over is deploying a native app.

    Here is more specifically what I am trying to make:
    A rather simple windows Menu, that will essentially be a gui with buttons to call up other applications, and various other message windows.

    I would like for it to be able to be run "live" off of a CD.

    The problem that I am having is that anytime I try and run it on a target machine, it's still insisting on .NET.
    The closest I came was needing the mcvsr80d.dll

    So, given that MFC and ATL are not options in Express,
    and given that the included Windows.Forms will only deploy as .NET,

    How can I deploy a Window gui with Express products to run natively
    Will Visual Basic Express deploy non-.NET

    Paul Domag said to ensure not to use any .NET dll's, classes, etc.
    There is no setting when starting a project to specify what environment you're targeting

    I'm afraid I'm starting to sound thick headed, but fi the new VS is going to be able to target multiple environments, it would be nice to have a way to specify which environment at the beginning.


  • menu for Win32 native deployment