Home > Archive > microsoft.public.cert.exam.mcsd > April 2003 > need a good book about managed C++





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author need a good book about managed C++
Danut

2003-04-28, 10:23 am

Can anyone recommend me a good book about managed C++ and also about
migrating an MFC application from Visual C++ 6.0 to Vicual C++ .NET?

Yes, I know I can go to amazon.com and/or Microsoft.com to look for articles
and/or books.
What I'm asking for is a recommendation from someone who did or does this
kind of migration. I need an expert advise because I'm trying to save time.

Thank you!
Danut


Tim

2003-04-28, 10:23 am

"Danut" <danutzp1@hotmail.com> wrote in message
news:u4Ei8YZDDHA.1548@TK2MSFTNGP12.phx.gbl...
> Can anyone recommend me a good book about managed C++ and also about
> migrating an MFC application from Visual C++ 6.0 to Vicual C++ .NET?


I assume from your subject that you want info about migrating to _managed_
C++, but since you didn't specify that here, I just wanted to mention that
'migrating' a large MFC application from VC++ 6 to unmanaged VC++ 7 was very
easy for me. I had one 3rd party library that broke with the VC++ 7
implementation of CString (using templates), but I had source code to it and
it was pretty easy to resolve once I tracked it down.

I haven't read anything about a migration to managed C++, but would also be
interested to hear of any good references you come across.


Danut

2003-04-28, 11:23 am

Yes, this is what I meant: migrating to managed C++.

I succeded to build the apllication but I had a few problems especially with
RTTI.
/CLR and RTTI do not work together and code like

if (pMyClass->IsKindOf( RUNTIME_CLASS(CMyClass) ))

will fail misserable when executed.

I did not have time to investigate it but I guess that CMyClass needs to be
change to be managed code using __gc so I can use reflection but I'm not
sure that this will work since CMyClass is derived from the MFC class
CFormView which is not a managed class. From what I know the derived class
cannot be managed if the base class is not.

This kind of things I'm interested in to find in a book. Of course I can dig
and figure out by myself the solutions but it may take some time.

Danut

"Tim" <spammers@begone> wrote in message
news:eOkyciZDDHA.3064@TK2MSFTNGP11.phx.gbl...
> "Danut" <danutzp1@hotmail.com> wrote in message
> news:u4Ei8YZDDHA.1548@TK2MSFTNGP12.phx.gbl...
> > Can anyone recommend me a good book about managed C++ and also about
> > migrating an MFC application from Visual C++ 6.0 to Vicual C++ .NET?

>
> I assume from your subject that you want info about migrating to _managed_
> C++, but since you didn't specify that here, I just wanted to mention that
> 'migrating' a large MFC application from VC++ 6 to unmanaged VC++ 7 was

very
> easy for me. I had one 3rd party library that broke with the VC++ 7
> implementation of CString (using templates), but I had source code to it

and
> it was pretty easy to resolve once I tracked it down.
>
> I haven't read anything about a migration to managed C++, but would also

be
> interested to hear of any good references you come across.
>
>



Sponsored Links





Free Braindumps | MCSE braindumps software forum

Copyright 2003 - 2008 examnotes.net