Re: Constructor initializations - which way better why?
Hi Dave,
I'm not sure there is a "sensible" conversion. However, I think that the
world will eventually go to managed code although I don't know how long that
will take. I think MFC will either evolve or die (although it has a lot of
life left in it). I remember back in the mid 80's thinking that this new
thing Windows would never catch on since it was too much of a machine hog.
I bought the first version fo Word for Windows and continued using the DOS
version since it took about 2 minutes just to open an empty file. However,
I started learning Windows programming since I had a contract and I'm glad I
did since I don't know too many people who still use DOS programs. So, I am
continue to use MFC while learning .NET and my guess is eventually (although
it may take several years) managed code will be normal and what we're doing
now will evolve or be redone or not be used any more. That's how technology
works. I also remember my first 386 based computer. I thought I was in
heaven... using it wouldn't seem like heaven any more :o)
Tom
"David Webber" <dave@musical.demon.co.uk> wrote in message
news:eFwwbVlYHHA.3848@TK2MSFTNGP02.phx.gbl...
I thought a bit about .NET when the first version came out. I realised
that porting my application to it would be a nightmare. I have classes
with bit fields and multiple inheritance (I'm one of an apparent minority
who has no religious objection to this) all over the place. The C++ in
.NET was just, as far as I could tell, C# with a slightly modified syntax,
and not C++ at all!
Now my impression is that things have improved a bit, but I suspect that I
would end up with 90% native C++ anyway after a lot of work. As long as
such a large fraction of people use Windows, and the dedicated among the
others can run my stuff under things like WINE (some do) I think my time
is better spent elsewhere. So MFC is it for the moment.
I've noticed there's an mfcm80.dll these days which looks like it is to do
with .NET. Does this provide a sensible conversion path from MFC to
.NET?
Dave
--
David Webber
Author MOZART the music processor for Windows -
http://www.mozart.co.uk
For discussion/support see
http://www.mozart.co.uk/mzusers/mailinglist.htm