473,406 Members | 2,377 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,406 software developers and data experts.

Visual Studio 6 or .NET for C++?

I'm about to move a moderately large program from a different
environment onto Windows. The program is written in C++

I have a choice of Visual Studio 6 or Visual Studio .NET 2002.

What are the pros and cons of these two environments for a straight C++
windows app. Does VS .NET get me a better compiler? How? The managed
code features are of no interest in the foreseeable future.

Thanks,
++PLS
Nov 17 '05 #1
24 2784
"Paul Schauble" <4v*******@spamex.com> wrote in message
news:MP************************@msnews.microsoft.c om...
I have a choice of Visual Studio 6
This one is five or six years old.
or Visual Studio .NET 2002.


This one is about two years old.

Go with VS.Net 2003, it has the best compiler to come out of MS in a while.

Regards,
Will
Nov 17 '05 #2
Paul Schauble wrote:
I'm about to move a moderately large program from a different
environment onto Windows. The program is written in C++

I have a choice of Visual Studio 6 or Visual Studio .NET 2002.

What are the pros and cons of these two environments for a straight
C++ windows app. Does VS .NET get me a better compiler? How? The
managed code features are of no interest in the foreseeable future.


Since you're moving from a different environment, it stands to reason that
the code is not MFC-based. If it were, many people would recommend using
VC6.

For straight C++, Visual Studio .NET 2003 is really what you want. If 2002
is your only option, it's a little better than VC6 with regard to language
conformance, and a lot better with regard to standard library conformance.

-cd
Nov 17 '05 #3
"Carl Daniel [VC++ MVP]" <cp*****************************@mvps.org.nospam >
wrote:

Since you're moving from a different environment, it stands to reason that
the code is not MFC-based. If it were, many people would recommend using
VC6.


Carl, I've never heard that. Can you explain why this should be? Has the
MFC in VC.NET reached its "Peter Principle" limit?
--
- Tim Roberts, ti**@probo.com
Providenza & Boekelheide, Inc
Nov 17 '05 #4
No, MFC 7.0 is fine, it's more that the Visual Studio for VC++ 6 is geared
toward developing MFC programs, and VS .NET 2003, as its name suggests, is
aimed toward developing .NET applications. The main loss is the
ClassWizard.

Best Regards
Julian Nicholls

"Tim Roberts" <ti**@probo.com> wrote in message
news:4u********************************@4ax.com...
"Carl Daniel [VC++ MVP]" <cp*****************************@mvps.org.nospam >
wrote:

Since you're moving from a different environment, it stands to reason thatthe code is not MFC-based. If it were, many people would recommend using
VC6.


Carl, I've never heard that. Can you explain why this should be? Has the
MFC in VC.NET reached its "Peter Principle" limit?
--
- Tim Roberts, ti**@probo.com
Providenza & Boekelheide, Inc

Nov 17 '05 #5
"Paul Schauble" <4v*******@spamex.com> wrote in message
news:MP************************@msnews.microsoft.c om...
I'm about to move a moderately large program from a different
environment onto Windows. The program is written in C++

I have a choice of Visual Studio 6 or Visual Studio .NET 2002.

There is also Visual Studio .NET 2003.
What are the pros and cons of these two environments for a straight C++

Regarding ISO C++ conformance 2002 and 2003 have far better conformance than
VC++ 6, with the 2003 version having ~100% and 2002 ~90+%.
2003 also has a RAD for VC++ (common for all languages VB, VC# etc).
windows app. Does VS .NET get me a better compiler? How? The managed
code features are of no interest in the foreseeable future.

Yes the compiler is better, the .NET API is the *same* for all languages,
code written in different languages can interoperate since everything is
translated to MSIL.


Ioannis Vranos

Nov 17 '05 #6
I've found that doing MFC with dot net just as good as Dev6. All the bits
class wiz did have just moved to the properties panel. I like the changes,
not that bad a change.
The real downer of .net for me, which i`ve only just found out today, is
that the profiler has vanished!

"Julian Nicholls" <so*********************@mccueplc.nospam.com> wrote in
message news:OU**************@TK2MSFTNGP12.phx.gbl...
No, MFC 7.0 is fine, it's more that the Visual Studio for VC++ 6 is geared
toward developing MFC programs, and VS .NET 2003, as its name suggests, is
aimed toward developing .NET applications. The main loss is the
ClassWizard.

Best Regards
Julian Nicholls

"Tim Roberts" <ti**@probo.com> wrote in message
news:4u********************************@4ax.com...
"Carl Daniel [VC++ MVP]" <cp*****************************@mvps.org.nospam >
wrote:

Since you're moving from a different environment, it stands to reason thatthe code is not MFC-based. If it were, many people would recommend usingVC6.


Carl, I've never heard that. Can you explain why this should be? Has

the MFC in VC.NET reached its "Peter Principle" limit?
--
- Tim Roberts, ti**@probo.com
Providenza & Boekelheide, Inc


Nov 17 '05 #7
maddog wrote:
I've found that doing MFC with dot net just as good as Dev6. All the
bits class wiz did have just moved to the properties panel. I like
the changes, not that bad a change.
The real downer of .net for me, which i`ve only just found out today,
is that the profiler has vanished!


It has... but you can download a version of Comuware's DevPartner Profiler
for free.

See (very long URL - watch for wraps)

http://www.compuware.com/products/de...evPartner&sf=1

-cd
Nov 17 '05 #8
I have developed one MFC app from scratch since having VS .NET 2003 and,
like you, I thought it was OK. I missed the ClassWizard because its
functionality was in one place rather than spread about.

It's particularly noticeable when wiring up a dialog's fields, in that you
can only do one at a time with VS .NET 2003.

All the Best
Julian N.

"maddog" <ri*****@collins1969.fsnet.co.uk> wrote in message
news:c5**********@newsg1.svr.pol.co.uk...
I've found that doing MFC with dot net just as good as Dev6. All the bits
class wiz did have just moved to the properties panel. I like the changes,
not that bad a change.
The real downer of .net for me, which i`ve only just found out today, is
that the profiler has vanished!

"Julian Nicholls" <so*********************@mccueplc.nospam.com> wrote in
message news:OU**************@TK2MSFTNGP12.phx.gbl...
No, MFC 7.0 is fine, it's more that the Visual Studio for VC++ 6 is geared toward developing MFC programs, and VS .NET 2003, as its name suggests, is aimed toward developing .NET applications. The main loss is the
ClassWizard.

Best Regards
Julian Nicholls

Nov 17 '05 #9

"Carl Daniel [VC++ MVP]" <cp*****************************@mvps.org.nospam >
wrote in message news:ur**************@TK2MSFTNGP10.phx.gbl...
For straight C++, Visual Studio .NET 2003 is really what you want. If
2002 is your only option, it's a little better than VC6 with regard to language
conformance, and a lot better with regard to standard library conformance.

-cd

Amen. Best compliance with standards yet.
(To the OP) Go with the current version (Visual Studio .NET 2003) in the
edition you need.

--
Peter [MVP Academic]
Nov 17 '05 #10
"maddog" <ri*****@collins1969.fsnet.co.uk> wrote in message news:c5**********@newsg1.svr.pol.co.uk...
I've found that doing MFC with dot net just as good as Dev6.


But the MFC runtime is different from VC6, right?
You can't use mfc42... DLLs with .NET compiler?

--PA
Nov 17 '05 #11
FWIW, I agree with the others that you should go with VC++ 2003. However, I
disagree with Carl :-) I use MFC all the time with the latest compiler and
it works great. It will even work with managed code just in case you do see
that as interesting in the future. You may want to consider managed code,
at least, since it adds some benefits (use of code from other languages,
scripting, security, etc.)

Tom

"Paul Schauble" <4v*******@spamex.com> wrote in message
news:MP************************@msnews.microsoft.c om...
I'm about to move a moderately large program from a different
environment onto Windows. The program is written in C++

I have a choice of Visual Studio 6 or Visual Studio .NET 2002.

What are the pros and cons of these two environments for a straight C++
windows app. Does VS .NET get me a better compiler? How? The managed
code features are of no interest in the foreseeable future.

Thanks,
++PLS

Nov 17 '05 #12
>> I've found that doing MFC with dot net just as good as Dev6.

But the MFC runtime is different from VC6, right?
You can't use mfc42... DLLs with .NET compiler?

It is different (mfc71.dll etc.)
In my opinion the mfc 7.1 is better.
You can nicely use the new versions of RichEdit controls
(with mfc 4.2 you where limited to 1.0, unless you
did some "dirty tricks").
CString was redesigned, and now you can use both Unicode
and ANSI versions of CString in the same application,
having full control.

One annoying bug that I not remember from mfc 4.2: the
document history of a mfc applicatin generated by the wizard
does not store the full path. You open a file, close it.
You can see it in the history, but if you try to open it
it complains that the file does not exist.

But you can just write a work-around once and use it in all
other applications.

--
Mihai
-------------------------
Replace _year_ with _ to get the real email
Nov 17 '05 #13
On Mon, 12 Apr 2004 23:09:16 -0700, Tim Roberts <ti**@probo.com>
wrote:
Has the
MFC in VC.NET reached its "Peter Principle" limit?


No it's just that the IDE in VC6 is better for working with MFC apps.
The principle problem (for me at least) is the abysmal Add Variable
dialog, which is dog-slow and and can't do more than one variable
without being relaunched.

This, combined with the resource editor bugs (names replaced with
numbers, vanishing resources) were sufficient to make us throw out
VS.Net and return to VC6.

Nov 17 '05 #14
Thank you Mihai!
Now, does the new MFC runtime work without .NET runtime?
What you need to package with your app for win2000/XP?

"Mihai N." <nm**************@yahoo.com> wrote in message news:Xn********************@216.148.227.77...
I've found that doing MFC with dot net just as good as Dev6.


But the MFC runtime is different from VC6, right?
You can't use mfc42... DLLs with .NET compiler?

It is different (mfc71.dll etc.)
In my opinion the mfc 7.1 is better.
You can nicely use the new versions of RichEdit controls
(with mfc 4.2 you where limited to 1.0, unless you
did some "dirty tricks").
CString was redesigned, and now you can use both Unicode
and ANSI versions of CString in the same application,
having full control.

One annoying bug that I not remember from mfc 4.2: the
document history of a mfc applicatin generated by the wizard
does not store the full path. You open a file, close it.
You can see it in the history, but if you try to open it
it complains that the file does not exist.

But you can just write a work-around once and use it in all
other applications.

--
Mihai
-------------------------
Replace _year_ with _ to get the real email

Nov 17 '05 #15
Pavel A. wrote:
Thank you Mihai!
Now, does the new MFC runtime work without .NET runtime?
Yes, of course. MFC is a native framework and not in any way dependent on
..NET.
What you need to package with your app for win2000/XP?


Your app + MFC71.DLL + MSVCR71.DLL + MSVCP71.DLL (maybe - C++ standard
library).

-cd


Nov 17 '05 #16
Hi Bob,

I haven't noticed that being a problem, but to be fair I didn't use the old
ClassWizard much anyway (it was klutzy). I mostly just add my stuff in
where I need it. Once you learn the MFC stuff the wizard is sort of a waste
of time imo.

Tom

"Bob Moore" <bo**@mvps.org> wrote in message
news:n9********************************@4ax.com...
On Mon, 12 Apr 2004 23:09:16 -0700, Tim Roberts <ti**@probo.com>
wrote:
Has the
MFC in VC.NET reached its "Peter Principle" limit?


No it's just that the IDE in VC6 is better for working with MFC apps.
The principle problem (for me at least) is the abysmal Add Variable
dialog, which is dog-slow and and can't do more than one variable
without being relaunched.

This, combined with the resource editor bugs (names replaced with
numbers, vanishing resources) were sufficient to make us throw out
VS.Net and return to VC6.

Nov 17 '05 #17
Your app + MFC71.DLL + MSVCR71.DLL + MSVCP71.DLL (maybe - C++ standard
library).


I would add to this IE (I think 4 or newer, but I am not sure).

I guess one of the MS tricks: if the court forced MS to
unbundle IE from the OS, the first MFC 7.x application
would have installed it.

http://msdn.microsoft.com/library/de...l=/library/en-
us/vccore/html/vcoriRedistributingMFCATLOLEDBTemplatesApplication s.asp
--
Mihai
-------------------------
Replace _year_ with _ to get the real email
Nov 17 '05 #18
Unfortunately VS .NET 2003 isn't possible. The judgement of the powers-
that-be was that 2003 doesn't offer enough to be worth the cost.

Back to VS6 vs. 2002/2003. How does the .NET debugger compare to that in
VS6?

Thanks,
++PLS

In article <Os**************@TK2MSFTNGP10.phx.gbl>,
iv*@guesswh.at.emails.ru says...
"Paul Schauble" <4v*******@spamex.com> wrote in message
news:MP************************@msnews.microsoft.c om...
I'm about to move a moderately large program from a different
environment onto Windows. The program is written in C++

I have a choice of Visual Studio 6 or Visual Studio .NET 2002.

There is also Visual Studio .NET 2003.
What are the pros and cons of these two environments for a straight C++

Regarding ISO C++ conformance 2002 and 2003 have far better conformance than
VC++ 6, with the 2003 version having ~100% and 2002 ~90+%.
2003 also has a RAD for VC++ (common for all languages VB, VC# etc).
windows app. Does VS .NET get me a better compiler? How? The managed
code features are of no interest in the foreseeable future.

Yes the compiler is better, the .NET API is the *same* for all languages,
code written in different languages can interoperate since everything is
translated to MSIL.


Ioannis Vranos

Nov 17 '05 #19
Paul Schauble wrote:
Unfortunately VS .NET 2003 isn't possible. The judgement of the
powers- that-be was that 2003 doesn't offer enough to be worth the
cost.
Too bad the powers that be weren't paying attention a year ago when you
could've updated to 2003 for $29.

This has probably been mentioned in this thread before, but if you're
porting C++ code that makes use of advanced template features, it's likely
that neither VC6 nor VS.NET 2002 will be very satisfactory.

Back to VS6 vs. 2002/2003. How does the .NET debugger compare to that
in VS6?


The native debugger in VS.NET 2002 (VC7) is a superset of the debugger in
VC6. I haven't run into any situation that the VC7 debugger didn't handle
at least as well as the VC6 debugger.

-cd
Nov 17 '05 #20
Tom Serface wrote:
FWIW, I agree with the others that you should go with VC++ 2003.
However, I disagree with Carl :-)


<G> I never said *I* wouldn't recommend 2003 for MFC code, just that many
people wouldn't recommend it... ;-)

-cd
Nov 17 '05 #21
Do you realise that the whole of the Visual C++ .NET 2003 command line
tools, include files, and libraries can now be downloaded from the Microsoft
website, free and for nothing :-)

I don't unfortunately have a link for you, but a search on the site should
turn it up.

Best Regards
Julian Nicholls

"Paul Schauble" <4v*******@spamex.com> wrote in message
news:MP************************@msnews.microsoft.c om...
Unfortunately VS .NET 2003 isn't possible. The judgement of the powers-
that-be was that 2003 doesn't offer enough to be worth the cost.

Back to VS6 vs. 2002/2003. How does the .NET debugger compare to that in
VS6?

Thanks,
++PLS

Nov 17 '05 #22
Julian Nicholls <so*********************@mccueplc.nospam.com> wrote:
Do you realise that the whole of the Visual C++ .NET 2003 command line
tools, include files, and libraries can now be downloaded from the Microsoft
website, free and for nothing :-)

I don't unfortunately have a link for you, but a search on the site should
turn it up.
http://msdn.microsoft.com/visualc/vctoolkit2003/
Best Regards
Julian Nicholls
[...]


Schobi

--
Sp******@gmx.de is never read
I'm Schobi at suespammers dot org

"Sometimes compilers are so much more reasonable than people."
Scott Meyers
Nov 17 '05 #23
Paul Schauble <4v*******@spamex.com> wrote in message news:<MP************************@msnews.microsoft. com>...
Unfortunately VS .NET 2003 isn't possible. The judgement of the powers-
that-be was that 2003 doesn't offer enough to be worth the cost.


Too bad the powers-that-be aren't also the powers-that-know, because,
there is a *huge* difference in C++ conformance between VC 7.0 and VC
7.1 as soon as you start playing with templates (among other things.)

Arnaud
MVP - VC
Nov 17 '05 #24

I have not noticed anything better about the 7.1/.net/2003 debugger over the
VS6 debugger. I have seen one quirky thing: Sometimes the call stack goes a
little bonko on the VS7.1/2003/.net debugger. In VS6 I could always go all
the way back to "main" in the call stack, but sometimes the newer debugger
goes into some assembly mumbo-jumbo and if I ever click on it "poof" there
goes my call stack and I have to wait for the next breakpoint for it to
reappear.

"Paul Schauble" <4v*******@spamex.com> wrote in message
news:MP************************@msnews.microsoft.c om...
Unfortunately VS .NET 2003 isn't possible. The judgement of the powers-
that-be was that 2003 doesn't offer enough to be worth the cost.

Back to VS6 vs. 2002/2003. How does the .NET debugger compare to that in
VS6?

Thanks,
++PLS

In article <Os**************@TK2MSFTNGP10.phx.gbl>,
iv*@guesswh.at.emails.ru says...
"Paul Schauble" <4v*******@spamex.com> wrote in message
news:MP************************@msnews.microsoft.c om...
I'm about to move a moderately large program from a different
environment onto Windows. The program is written in C++

I have a choice of Visual Studio 6 or Visual Studio .NET 2002.

There is also Visual Studio .NET 2003.
What are the pros and cons of these two environments for a straight
C++

Regarding ISO C++ conformance 2002 and 2003 have far better conformance than VC++ 6, with the 2003 version having ~100% and 2002 ~90+%.
2003 also has a RAD for VC++ (common for all languages VB, VC# etc).
windows app. Does VS .NET get me a better compiler? How? The managed
code features are of no interest in the foreseeable future.

Yes the compiler is better, the .NET API is the *same* for all languages, code written in different languages can interoperate since everything is
translated to MSIL.


Ioannis Vranos

Nov 17 '05 #25

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

Similar topics

1
by: angelag | last post by:
I am currently taking a college course in Visual Basic.Net and I am a beginner. I bought Visual Studio.Net 2003 to do my homework at home. I built my first project and e-mailed it to myself at...
0
by: Tom Lee | last post by:
Hi, I'm new to .NET 2003 compiler. When I tried to compile my program using DEBUG mode, I got the following errors in the C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7 \include\xdebug...
0
by: gerd | last post by:
Hello, I want to port an MFC Application from Visual Studio 6 MFC application to Visual C++ 2005 express edition beta. While building i get following error: ------ Build started: Project:...
0
by: gerd | last post by:
Hello, I want to port an MFC Application from Visual Studio 6 MFC application to Visual C++ 2005 express edition beta. While building i get following error: ------ Build started: Project:...
1
by: Daniel A. Thomas | last post by:
License required Maybe you don't have this but have one of the products that qualifies for the upgrade such as ... Visual Studio .NET 2003 Professional Visual Studio .NET 2003 Professional...
1
by: johnlim20088 | last post by:
Hi, Currently I have 6 web projects located in Visual Source Safe 6.0, as usual, everytime I will open solution file located in my local computer, connected to source safe, then check out/check in...
0
by: marathoner | last post by:
I am currently migrating my Visual C++ 6.0 applications to Visual Studio 2005. I am getting compiler errors involving the VS2005's platform SDK. When I removed directory references to that SDK,...
2
by: Cramer | last post by:
So, what is the relationship between Visual Studio and Visual Web Developer. I find a lot of documentation on MSDN that presents Visual Web Developer as it's own stand-alone product (which I'd...
0
jwwicks
by: jwwicks | last post by:
Introduction This tutorial describes how to use Visual Studio to create a new C++ program, compile/run a program, resume work on an existing program and debug a program. It is aimed at the...
3
by: Johnson | last post by:
I'm not sure if this is an IIS 5.1 issue or ASP.NET issue, or Visual Studio 2008 issue -- thus posting to 3 groups. Please don't be offended. The problem I'm encountering is that Visual Studio...
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: 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
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.