473,386 Members | 1,846 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Migrating from VC++ v6 to v7.1

With Visual C++ v6, I was able to open a .cpp file into the IDE, type F7, and
have an executable. With .NET 2003, that is no longer the case. Is there a
quick and dirty way in .NET to perform like its predecessor?

Nov 17 '05 #1
5 1053
F5 to build and run,
or Ctrl+Shift+B to only build.

That is provided of course that you have the default C++ keyboard mappings.

Domenic

"Owen" <fu**@highwaay.net> wrote in message
news:10*************@corp.supernews.com...
With Visual C++ v6, I was able to open a .cpp file into the IDE, type F7, and have an executable. With .NET 2003, that is no longer the case. Is there a quick and dirty way in .NET to perform like its predecessor?

Nov 17 '05 #2
No sorry, we lost the ability to auto create a project wrapper around a .cpp
file. It was one of the fatalities of going to the joint IDE.

Ronald Laeremans
Visual C++ team

"Owen" <fu**@highwaay.net> wrote in message
news:10*************@corp.supernews.com...
With Visual C++ v6, I was able to open a .cpp file into the IDE, type F7,
and have an executable. With .NET 2003, that is no longer the case. Is
there a quick and dirty way in .NET to perform like its predecessor?

Nov 17 '05 #3
If only that worked. I even set the environment to the default C++ keyboard
mappings. Nothing.

In v6, pressing F7 would automatically create a workspace and add my files to
the project automatically. In v7.1, I must jump through the following hoops
before I can compile the code:
1. Select File -> Add Project -> New Project
2. Select Visual C++ Projects -> .NET -> Empty Project (.NET)
3. Enter the path to the files
4. Select OK
5. Select Project -> Add Existing Item
6. Add all the files into the project

Surely the behavior of v6's IDE has been preserved. Anyone?
Domenic Albano wrote:
F5 to build and run,
or Ctrl+Shift+B to only build.

That is provided of course that you have the default C++ keyboard mappings.

Domenic

"Owen" <fu**@highwaay.net> wrote in message
news:10*************@corp.supernews.com...
With Visual C++ v6, I was able to open a .cpp file into the IDE, type F7,


and
have an executable. With .NET 2003, that is no longer the case. Is there


a
quick and dirty way in .NET to perform like its predecessor?



Nov 17 '05 #4
Understandable. The pros of the integrated IDE outweigh the cons. You all have
done a great job.
Ronald Laeremans [MSFT] wrote:
No sorry, we lost the ability to auto create a project wrapper around a .cpp
file. It was one of the fatalities of going to the joint IDE.

Ronald Laeremans
Visual C++ team

"Owen" <fu**@highwaay.net> wrote in message
news:10*************@corp.supernews.com...
With Visual C++ v6, I was able to open a .cpp file into the IDE, type F7,
and have an executable. With .NET 2003, that is no longer the case. Is
there a quick and dirty way in .NET to perform like its predecessor?



Nov 17 '05 #5

"Owen" <fu**@highwaay.net> wrote in message
news:10*************@corp.supernews.com...
With Visual C++ v6, I was able to open a .cpp file into the IDE, type F7, and have an executable. With .NET 2003, that is no longer the case. Is there a quick and dirty way in .NET to perform like its predecessor?

Gone, as Robert told you.
The closest workaround I've found for classroom use is to create a default
console project (I call mine CrashTestDummy), then use Project->Add Existing
Item to bring a new source code file(s) into the project. You have to
right-click the old source code file in solution explorer, then select
Remove to remove the old code before rebuilding.
Not nearly as slick as having a default project built around you source
code, but better than creating a new solution each time.

--
Peter [MVP Visual Developer]
Jack of all trades, master of none.
Nov 17 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: SteadySteps | last post by:
Hi I have a large VC++ 6.0 MFC project which is dependant on several dlls, components and libraries. If I chose to migrate the projects to VC++ 7.0 can I expect a smooth transition. This is will...
6
by: Shai Levi | last post by:
Hi, I'm trying to migrate native c++ class to managed c++ class. The native class header definition looks as: class NativeClass { public: typedef void (CbFunc1)(int n,void* p);
1
by: Steve | last post by:
We are considering the ways to migrate our VC++ 6.0 applications to .NET platform. It would be nice to rewrite them completely in C#, but due to the time constraints this option is out of...
3
by: Mike Doyle | last post by:
Hi, I'm looking at migrating our existing from Visual Studio (6.00) C++ code to the .NET version of C++ (unmanaged) Can anyone point me towards documention or an overview of this ? Thanks in...
8
by: david_75 | last post by:
I wonder if the transistion from the project written in VC++ 6.0 to VC++ .NET requires a lot of code changes (if any) if I compile the project in native code (or unmanaged code) without using the...
11
by: danip | last post by:
Hi there, I need to do the following: 1. Migrate a whole solution (with tens of projects) from VC 6.0 to VC 8.0. The project has a lot of MFC templates like CArray, and many error are poping out,...
2
by: PDHB | last post by:
Hi. I'm trying to migrate a small library to VC8 via the wizard, but when I try to compile I get the following errors: Error 1 error LNK2001: unresolved external symbol "?.cctor@@$$FYMXXZ"...
34
by: subramanian100in | last post by:
Is there any difference between porting and migrating. Kindly explain
4
by: =?Utf-8?B?QXJqdW4=?= | last post by:
Hi, After migrating my application from VC++ 6.0 to VC++ 2005, I receive the error C2593 'operator +=' is ambiguous. It refers to the following line: Name += pManager->GetAgentName(); ...
4
by: VikrantS | last post by:
Hi, I am migrating code from VS 6.0 to VS2008. The Code compiles in VS 6.0 but gives the following errors when compiled in VS 2008, --- \Program Files\VC\atlmfc\include\afxcmn.inl(376) : error...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.