MFC libraries - best route to upgrade?

C

Control Freq

Hi,
I am a fairly experienced C++ (MFC) programmer, with alot of MFC code
still in use. Most of my projects are still using Visual Studio 6.0.

I want to modernise, but don't want the lengthy (costly) disruption of
porting my useful stuff to a more recent programming environment.

I now have Visual Studio 2005 and I have done some small projects in
C# . But, I notice that there is also C++ in there too.

What is the best way forward? Is C# here to stay? Is C++ in VS2005
going to import my MFC code easily?

Any advice appreciated.

Kind regards
 
D

David Lowndes

What is the best way forward? Is C# here to stay?

Undoubtedly - as is C++.
Is C++ in VS2005 going to import my MFC code easily?

Generally yes - the newer compiler is more strictly compliant so you
may have to do some changes, but they're usually beneficial ones. The
conversion of the workspace project settings can be less than optimal
though - once you've tried a direct conversion you might want to
consider creating a new project and copying your existing source files
into it.

There is renewed enthusiasm at MS for MFC, so the future there looks
bright too.

Dave
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top