Click here to Skip to main content
15,891,529 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C++ and Managed Code Pin
73Zeppelin21-Jan-07 10:30
73Zeppelin21-Jan-07 10:30 
GeneralRe: C++ and Managed Code Pin
Christian Graus21-Jan-07 10:35
protectorChristian Graus21-Jan-07 10:35 
GeneralRe: C++ and Managed Code Pin
Mark Salsbery21-Jan-07 10:55
Mark Salsbery21-Jan-07 10:55 
GeneralRe: C++ and Managed Code Pin
73Zeppelin21-Jan-07 11:30
73Zeppelin21-Jan-07 11:30 
GeneralRe: C++ and Managed Code Pin
Christian Graus21-Jan-07 13:32
protectorChristian Graus21-Jan-07 13:32 
AnswerRe: C++ and Managed Code Pin
Christian Graus21-Jan-07 9:38
protectorChristian Graus21-Jan-07 9:38 
GeneralRe: C++ and Managed Code Pin
73Zeppelin21-Jan-07 9:44
73Zeppelin21-Jan-07 9:44 
AnswerRe: C++ and Managed Code Pin
Mark Salsbery21-Jan-07 9:59
Mark Salsbery21-Jan-07 9:59 
In addition to Christian's excellent reply...

You also can't use multiple inheritance.

There's ways around all of it though, for the most part.

Access to protected members can be done through properties. From an OOP purist (I am not) point
of view, friend classes are probably a kludge anyway Smile | :)

You can't derive from multiple classes but you can derive from multiple interfaces.

Anyway, just because it's there doesn't mean you have to use it. If you're not using the .NET
framework then certainly don't use managed classes or even compile to CLR.

I personally use C++ for almost everything and managed C++ only for access to features of the
.NET framework, controlling compilation with #pragma managed/#pragma unmanaged.

Mark

GeneralRe: C++ and Managed Code Pin
Christian Graus21-Jan-07 10:08
protectorChristian Graus21-Jan-07 10:08 
GeneralRe: C++ and Managed Code Pin
Mark Salsbery21-Jan-07 10:17
Mark Salsbery21-Jan-07 10:17 
GeneralRe: C++ and Managed Code Pin
Christian Graus21-Jan-07 10:26
protectorChristian Graus21-Jan-07 10:26 
GeneralRe: C++ and Managed Code Pin
Mark Salsbery21-Jan-07 10:26
Mark Salsbery21-Jan-07 10:26 
GeneralRe: C++ and Managed Code Pin
Mark Salsbery21-Jan-07 10:26
Mark Salsbery21-Jan-07 10:26 
GeneralRe: C++ and Managed Code Pin
Christian Graus21-Jan-07 10:35
protectorChristian Graus21-Jan-07 10:35 
AnswerRe: C++ and Managed Code Pin
Nemanja Trifunovic21-Jan-07 12:43
Nemanja Trifunovic21-Jan-07 12:43 
AnswerRe: C++ and Managed Code Pin
Michael Dunn21-Jan-07 16:40
sitebuilderMichael Dunn21-Jan-07 16:40 
Questiondll and directshow Pin
gigo2k621-Jan-07 4:54
gigo2k621-Jan-07 4:54 
AnswerRe: dll and directshow Pin
CPallini21-Jan-07 6:20
mveCPallini21-Jan-07 6:20 
GeneralRe: dll and directshow Pin
gigo2k621-Jan-07 6:25
gigo2k621-Jan-07 6:25 
GeneralRe: dll and directshow Pin
CPallini21-Jan-07 6:58
mveCPallini21-Jan-07 6:58 
QuestionCListCtrl (not visible), no header? Pin
Cpt Rick21-Jan-07 4:53
Cpt Rick21-Jan-07 4:53 
QuestionRe: CListCtrl (not visible), no header? Pin
Mark Salsbery21-Jan-07 7:31
Mark Salsbery21-Jan-07 7:31 
AnswerRe: CListCtrl (not visible), no header? Pin
Cpt Rick21-Jan-07 23:20
Cpt Rick21-Jan-07 23:20 
GeneralRe: CListCtrl (not visible), no header? Pin
Hamid_RT22-Jan-07 5:57
Hamid_RT22-Jan-07 5:57 
GeneralRe: CListCtrl (not visible), no header? Pin
Mark Salsbery22-Jan-07 6:51
Mark Salsbery22-Jan-07 6:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.