Click here to Skip to main content
16,019,043 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to include CArray in CxImage libraray Pin
Vaclav8-Jan-06 14:46
Vaclav8-Jan-06 14:46 
AnswerRe: How to include CArray in CxImage libraray Pin
Christian Graus8-Jan-06 15:03
protectorChristian Graus8-Jan-06 15:03 
GeneralRe: How to include CArray in CxImage libraray Pin
#realJSOP9-Jan-06 0:06
professional#realJSOP9-Jan-06 0:06 
GeneralRe: How to include CArray in CxImage libraray Pin
Christian Graus9-Jan-06 11:02
protectorChristian Graus9-Jan-06 11:02 
GeneralRe: How to include CArray in CxImage libraray Pin
#realJSOP9-Jan-06 12:31
professional#realJSOP9-Jan-06 12:31 
GeneralRe: How to include CArray in CxImage libraray Pin
Christian Graus9-Jan-06 12:35
protectorChristian Graus9-Jan-06 12:35 
GeneralRe: How to include CArray in CxImage libraray Pin
#realJSOP9-Jan-06 23:28
professional#realJSOP9-Jan-06 23:28 
GeneralRe: How to include CArray in CxImage libraray Pin
Christian Graus10-Jan-06 9:59
protectorChristian Graus10-Jan-06 9:59 
John Simmons / outlaw programmer wrote:
Saying it's "crap" implies that it doesn't do the job it's intended to do, or is rife with bugs, thus making it unusable.


You're right. And you'll note, I backtracked a little, as a result. CArray will do what it claims to do, it just does the bare minimum, in a platform dependent manner, when a far superior, cross platform alternative exists.

John Simmons / outlaw programmer wrote:
And I argue that you don't have the burden of managing iterators to traverse a CArray.


How is one line of code a burden ? You can actually iterate through a vector without an iterator, BTW.

John Simmons / outlaw programmer wrote:
Your arguments sound more generally anti-MFC than anti-CArray.


No, MFC was and is a very good windowing framework. It beats the hell out of Win32. But, it's a windowing framework. The containers it has are an afterthought, they are not well designed, and had the compiler been able to handle the STL at the time, they would never have existed.

John Simmons / outlaw programmer wrote:
I haven't looked, but aren't the new MFC 7.0-8.0 collection classes wrappers for STL now. I heard CString is supposed to be.


I'm not sure. CString now is templated, I know that.

John Simmons / outlaw programmer wrote:
It's no less powerful in the hands of someone that knows what it can/can't do.


Yes, I would agree. If you start with the assumption that you'll never need the power or flexibility of vector, if you were only going to use a CArray as a dumb, non cross container compatible lump of stuff, they would essentially both do the same thing. So long as you never coded without MFC.


Christian Graus - Microsoft MVP - C++
AnswerRe: How to include CArray in CxImage libraray Pin
#realJSOP9-Jan-06 0:12
professional#realJSOP9-Jan-06 0:12 
GeneralRe: How to include CArray in CxImage libraray Pin
Vaclav10-Jan-06 12:31
Vaclav10-Jan-06 12:31 
GeneralRe: How to include CArray in CxImage libraray Pin
#realJSOP10-Jan-06 12:48
professional#realJSOP10-Jan-06 12:48 
QuestionIcon on the view(SDI) can't print in the MFC ,why? Pin
zhonglin.liang8-Jan-06 14:36
zhonglin.liang8-Jan-06 14:36 
AnswerRe: Icon on the view(SDI) can't print in the MFC ,why? Pin
vipinasda8-Jan-06 16:27
vipinasda8-Jan-06 16:27 
GeneralRe: Icon on the view(SDI) can't print in the MFC ,why? Pin
zhonglin.liang8-Jan-06 18:14
zhonglin.liang8-Jan-06 18:14 
QuestionDoes VC++ 2005 Standard include optimizing compiler ? Pin
Defenestration8-Jan-06 13:07
Defenestration8-Jan-06 13:07 
AnswerRe: Does VC++ 2005 Standard include optimizing compiler ? Pin
Gavin Taylor8-Jan-06 13:21
professionalGavin Taylor8-Jan-06 13:21 
Question#using will work in VC++6.0 also? Pin
sheshidar8-Jan-06 8:50
sheshidar8-Jan-06 8:50 
AnswerRe: #using will work in VC++6.0 also? Pin
Christian Graus8-Jan-06 10:04
protectorChristian Graus8-Jan-06 10:04 
QuestionMnemonics/Shortcut Key Problem Pin
RobertW1008-Jan-06 8:41
RobertW1008-Jan-06 8:41 
AnswerRe: Mnemonics/Shortcut Key Problem Pin
Anilkumar K V8-Jan-06 17:12
Anilkumar K V8-Jan-06 17:12 
AnswerRe: Mnemonics/Shortcut Key Problem Pin
David Crow9-Jan-06 3:38
David Crow9-Jan-06 3:38 
GeneralRe: Mnemonics/Shortcut Key Problem Pin
RobertW10010-Jan-06 4:11
RobertW10010-Jan-06 4:11 
GeneralRe: Mnemonics/Shortcut Key Problem Pin
David Crow10-Jan-06 4:35
David Crow10-Jan-06 4:35 
QuestionMFC ActiveX Control Array Transfer Pin
godspeed1238-Jan-06 8:33
godspeed1238-Jan-06 8:33 
AnswerRe: MFC ActiveX Control Array Transfer Pin
Prakash Nadar8-Jan-06 14:56
Prakash Nadar8-Jan-06 14:56 

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.