Solved

Writing C++ in Visual Studio

Posted on 2014-07-18
2
311 Views
Last Modified: 2014-07-18
How do you set up the Visual Studio to code in C++ as a managed(.NET) program versus a non-managed program?
What do you select in making a new project for a Managed(.NET) and  NON-Managed project?
0
Comment
Question by:metro156
2 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 500 total points
ID: 40205344
For the managed part, see http://msdn.microsoft.com/en-us/library/vstudio/ms235638%28v=vs.100%29.aspx ("Walkthrough: Creating and Using a Managed Assembly (C++)"), the gist is

On the File menu, point to New and then click Project.

In the Project types pane, under Visual C++, select CLR.

For an unamanaged Project, select either "Win32" or "Win64" or any other unmanaged project type like "MFC" or "ATL" (the latter will depend on what features you have installed)
0
 

Author Closing Comment

by:metro156
ID: 40205488
Thank you jkr
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
There is an easy way, in .NET, to centralize the treatment of all unexpected errors. First of all, instead of launching the application directly in a Form, you need first to write a Sub called Main, in a module. Then, set the Startup Object to th…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…

910 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

23 Experts available now in Live!

Get 1:1 Help Now