How to use Visual C++ without .NET

Posted on 2004-11-18
Last Modified: 2012-08-14

I am  building a large C++ project in Microsoft Studio and it has
intensive computing. I fear if I use .NET, it may get slow down
at runtime. So I am thinking of building it without .NET.
How can I do that?  I am using Windows XP and microsoft studio
2003 and 2005 beta.

Thanks a lot.

Jennifer Zhou
(Sorry I don't have a lot of points.)
Question by:jfz2004

    Accepted Solution


    Try this:

    1.Open Visual C++ 2005, and start a new Project.

    2.In the New Project Window, select Win32 and Console Application (Win32).
    Complete the Bottom section normally.

    3. In the Application Settings section of the Win32 Application Wizard, you will be able to select an Application Type (Windows App, Console App, Dll, or Static Library), add support for ATL and/or MFC, or select an empty project.

    That *should* be all you need.

    I hope this helps
    LVL 3

    Expert Comment

    We do this regularly in VS 2003 and it works fine.

    I recommend putting the intensive computation in a DLL or COM library. Build that using just C++.  But use .NET for application UI.  It will save you a lot of time.

    - Frank
    LVL 1

    Expert Comment

    If you use .Net the chance that you will be using a large number of already build components make your development time shorter which means your project is cheaper, you could ask the same amount of money but make more in time. Also you do not want to re-invent the wheel. Also the components in .Net are thoroughly tested, thus you will spend less time debugging and more time optimising.

    If you code is well written your chances of having performance issues are less. E.g. using binary search is faster than linear search.

    The last performance results I hear .Net was about 80% of the speed of native code.

    Most applications spend 90% of the time in 5 - 10% of the actual code. I suggest that you rather make these parts native code if realy needed.

    Author Comment

    Thank you all so much. I will accept all your answers.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Suggested Solutions

    This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
    This article will show, step by step, how to integrate R code into a R Sweave document
    The goal of this video is to provide viewers with basic examples to understand and use switch statements in the C programming language.
    The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now