.EXE s in .NET

This is a discussion on .EXE s in .NET within the C++ Programming forums, part of the General Programming Boards category; A n00b question, possibly not in the right place, but here goes - Can you create a stand-alone app in ...

  1. #1
    -JM
    -JM is offline
    Registered Usurer
    Join Date
    Apr 2005
    Location
    upstate NY
    Posts
    79

    .EXE s in .NET

    A n00b question, possibly not in the right place, but here goes -

    Can you create a stand-alone app in Visual C++.Net? I seem to remember reading that you have to have the .NET framework installed to run anything produced in .NET.

    I'd created a few simple apps with DevC++ and it's nice to just launch a little exe file without worrying about any other baggage.

    Thanks -

    JM
    Huh?

  2. #2
    Registered User Boomba's Avatar
    Join Date
    Jun 2003
    Posts
    89
    yeah you can create a stand alone app..The featuer for creating a regular win32 app are still there and very usable.

  3. #3
    semi-colon generator ChaosEngine's Avatar
    Join Date
    Sep 2005
    Location
    Chch, NZ
    Posts
    597
    Well to nitpick, even a "standalone" exe that doesn't use .net still requires the c runtime dlls.

    but yeah, for all intents and purposes, you can create a regular win32 exe.
    "I saw a sign that said 'Drink Canada Dry', so I started"
    -- Brendan Behan

    Free Compiler: Visual C++ 2005 Express
    If you program in C++, you need Boost. You should also know how to use the Standard Library (STL). Want to make games? After reading this, I don't like WxWidgets anymore. Want to add some scripting to your App?

  4. #4
    -JM
    -JM is offline
    Registered Usurer
    Join Date
    Apr 2005
    Location
    upstate NY
    Posts
    79
    OK, thanks guys. Time to wade back into the Microsoft waters!
    Huh?

  5. #5
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,138
    There is a difference between Visual Studio.NET and .NET Framework. Visual Studio.NET is just the new Version of Visual Studio. You can produce .NET applications and normal, native executable files with Visual Studio.NET. C# and managed C++ applications will require the .NET Framework on the target computer. They cannot be compiled in any other way. Normal C++ applications do not require the .NET Framework. They can be compiled to use the required dlls dynamically or they can be compiled to be completely standalone ( at the cost of bloating the executable file ).
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. migrate from .Net 2.0 to .Net 3.0
    By George2 in forum C# Programming
    Replies: 3
    Last Post: 07-25-2007, 04:07 AM
  2. Using .exe on another comp, VC++ .net
    By Noobski in forum C++ Programming
    Replies: 18
    Last Post: 05-09-2003, 04:32 AM
  3. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 05:31 PM
  4. .net
    By ygfperson in forum A Brief History of Cprogramming.com
    Replies: 18
    Last Post: 02-15-2002, 12:15 AM
  5. Visual J#
    By mfc2themax in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 10-08-2001, 02:41 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21