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

C / C++ / MFC

 
AnswerRe: Removing Scrollbars on VC++ 6.0 SDI Applicaton Pin
«_Superman_»21-Jan-07 14:47
professional«_Superman_»21-Jan-07 14:47 
GeneralRe: Removing Scrollbars on VC++ 6.0 SDI Applicaton Pin
Bill Brocklebank22-Jan-07 11:58
Bill Brocklebank22-Jan-07 11:58 
Questionhow to add application in resource Pin
Max++21-Jan-07 14:26
Max++21-Jan-07 14:26 
AnswerRe: how to add application in resource Pin
Christian Graus21-Jan-07 14:34
protectorChristian Graus21-Jan-07 14:34 
GeneralRe: how to add application in resource Pin
Max++21-Jan-07 14:49
Max++21-Jan-07 14:49 
AnswerRe: how to add application in resource Pin
«_Superman_»21-Jan-07 14:41
professional«_Superman_»21-Jan-07 14:41 
QuestionC++ and Managed Code Pin
73Zeppelin21-Jan-07 9:25
73Zeppelin21-Jan-07 9:25 
AnswerRe: C++ and Managed Code Pin
Christian Graus21-Jan-07 9:29
protectorChristian Graus21-Jan-07 9:29 
The Apocalyptic Teacup wrote:
I assume therefore that if I want to work with inheritance I should avoid use of managed classes, correct?


Inheritance has nothing to do with friend classes. But, yes, the .NET framework does not support friend classes. Which sucks.

The Apocalyptic Teacup wrote:
Or is there a way to access the protected members of a managed class?


Yes, derive your classes from them ( inheritance ). Or, put the classes that work together in an assembly and use 'internal'

The Apocalyptic Teacup wrote:
If not, then what is the advantage of a managed class in C++?


The fact that it can use the .NET framework

The Apocalyptic Teacup wrote:
but if inheritance cannot be used


Just not true

The Apocalyptic Teacup wrote:
aren't we sacrificing alot of the functionality and power of C++?


The whole point of C++/CLI is that you can access the power of C++, things like templates ( no, generics suck and do not count ) and the STL are available to you.


The Apocalyptic Teacup wrote:
Yes, I know I can just declare my classes as unmanaged


You probably should, if you can, it means you don't rely on the framework. Why add baggage if you don't need it ?





Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog

GeneralRe: C++ and Managed Code Pin
73Zeppelin21-Jan-07 9:41
73Zeppelin21-Jan-07 9:41 
GeneralRe: C++ and Managed Code Pin
Christian Graus21-Jan-07 10:07
protectorChristian Graus21-Jan-07 10:07 
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 
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 

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.