Re: Porting a win32 application from vc++ to VS 2005 .NET
- From: "Victor Bazarov" <v.Abazarov@xxxxxxxxxxxx>
- Date: Thu, 7 Sep 2006 12:41:48 -0400
Oriane wrote:
"Victor Bazarov" <v.Abazarov@xxxxxxxxxxxx> a écrit dans le message de
news: edp9oa$hgg$1@xxxxxxxxxxxxxxxxxx
Oriane wrote:So is the empirical method the good one ? I'm a bit disappointed...
I'm currently trying to update an old app from VC++ 6.0 to Visual
Studio .NET 2005. I've let the wizard make the "makefile"
translation, and now it is compiling and linking but the executable
file is not the same size...
Is there a tool or an URL which could help me ? How can I track the
discrepancies between the compilatoin options ?
But you're already using the tool! It's called "the compiler".
Porting from one version of a compiler to another almost never has
any specifics. Compile, run, see if it behaves the same way, then
you're done. Deal with errors on each step. If it doesn't compile,
fix it. If it compiles but the behaviour is different, fix it.
The executable size is immaterial. Of course it's different, you're
using a different compiler now.
V
Empirical? Not sure what you mean. Supposedly, your program contains
all the code necessary to verify its proper behaviour. If not, you are
supposed to have an automated set of test cases (a test suite) that will
tell you if something is wrong. By utilising one or the other (ot both)
you should be able to see if the behaviour of the next version is the
same as the previous one. Nothing empirical about it. I would probably
use the term "methodical".
And what are you disappointed about? If you write your program to rely
on some features specific to a particular compiler, you have a problem
of "porting". If you just write your program using the language and
OS API, without "tuning" it to any compiler, "porting" doesn't really
exist, or, it's rather a problem for the compiler writers. A working
program should remain working. If it doesn't, then you need to research
the cause and deal with it. And that's called "development". No tool
is going to replace *you* in that process.
V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
.
- References:
- Porting a win32 application from vc++ to VS 2005 .NET
- From: Oriane
- Re: Porting a win32 application from vc++ to VS 2005 .NET
- From: Victor Bazarov
- Re: Porting a win32 application from vc++ to VS 2005 .NET
- From: Oriane
- Porting a win32 application from vc++ to VS 2005 .NET
- Prev by Date: Re: Socket differences between localhost and LAN (or Internet)
- Next by Date: Re: Settings in Vc++ project
- Previous by thread: Re: Porting a win32 application from vc++ to VS 2005 .NET
- Index(es):
Relevant Pages
|