How to use Visual C++ without .NET


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.)
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
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.
jfz2004Author Commented:
Thank you all so much. I will accept all your answers.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Programming Languages-Other

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.