Click here to Skip to main content
15,884,298 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Loading two versions of Common Controls Pin
Jonathan Davies14-Jul-13 5:25
Jonathan Davies14-Jul-13 5:25 
QuestionCStringArray vs. CArray<CString> Pin
hans.sch11-Jul-13 5:33
hans.sch11-Jul-13 5:33 
AnswerRe: CStringArray vs. CArray<CString> Pin
pasztorpisti11-Jul-13 6:25
pasztorpisti11-Jul-13 6:25 
GeneralRe: CStringArray vs. CArray<CString> Pin
hans.sch11-Jul-13 6:43
hans.sch11-Jul-13 6:43 
GeneralRe: CStringArray vs. CArray<CString> Pin
pasztorpisti11-Jul-13 8:21
pasztorpisti11-Jul-13 8:21 
GeneralRe: CStringArray vs. CArray<CString> Pin
hans.sch11-Jul-13 9:14
hans.sch11-Jul-13 9:14 
GeneralRe: CStringArray vs. CArray<CString> Pin
pasztorpisti11-Jul-13 9:29
pasztorpisti11-Jul-13 9:29 
GeneralRe: CStringArray vs. CArray<CString> Pin
hans.sch11-Jul-13 10:34
hans.sch11-Jul-13 10:34 
Thanks for that link... actually it doesn't tell me why I should use one or the other. There table in that page lists two differences between CArray and CStringArray: 1. The former uses templates while the latter doesn't - well, that is obvious. 2. CArray isn't type safe while CStringArray is - but I fail to see why. A CArray<CString, LPCTSTR> can only contain CString objects, so what should be type unsafe? So actually, my question remains open Frown | :-(

Regarding your advice, I have to deal with tons of old code. Many parts of that code work well with Unicode, but I know some places that confuse bytes with characters, and I sure don't know all of them, and I just don't have the time to clean everything up. I will have to live with a mix of 16 and 8 bit character strings. Besides, it is a pity that there is no built-in or MFC UTF-8 string type in C++. I love Perl for that.
GeneralRe: CStringArray vs. CArray<CString> Pin
pasztorpisti11-Jul-13 13:01
pasztorpisti11-Jul-13 13:01 
AnswerRe: CStringArray vs. CArray<CString> Pin
Joe Woodbury15-Jul-13 12:00
professionalJoe Woodbury15-Jul-13 12:00 
QuestionThe Serical Port Question? Pin
dave62112711-Jul-13 0:27
dave62112711-Jul-13 0:27 
AnswerRe: The Serical Port Question? Pin
«_Superman_»11-Jul-13 1:19
professional«_Superman_»11-Jul-13 1:19 
GeneralRe: The Serical Port Question? Pin
dave62112711-Jul-13 2:43
dave62112711-Jul-13 2:43 
GeneralRe: The Serical Port Question? Pin
Erudite_Eric11-Jul-13 6:06
Erudite_Eric11-Jul-13 6:06 
GeneralRe: The Serical Port Question? Pin
dave62112711-Jul-13 15:15
dave62112711-Jul-13 15:15 
AnswerRe: The Serical Port Question? Pin
Erudite_Eric11-Jul-13 6:08
Erudite_Eric11-Jul-13 6:08 
GeneralRe: The Serical Port Question? Pin
dave62112711-Jul-13 15:29
dave62112711-Jul-13 15:29 
GeneralRe: The Serical Port Question? Pin
Erudite_Eric11-Jul-13 20:59
Erudite_Eric11-Jul-13 20:59 
GeneralRe: The Serical Port Question? Pin
dave62112712-Jul-13 5:35
dave62112712-Jul-13 5:35 
QuestionCompile error caused from big header file Pin
andreas049-Jul-13 22:02
andreas049-Jul-13 22:02 
AnswerRe: Compile error caused from big header file Pin
Richard MacCutchan10-Jul-13 1:33
mveRichard MacCutchan10-Jul-13 1:33 
AnswerRe: Compile error caused from big header file Pin
Erudite_Eric10-Jul-13 2:19
Erudite_Eric10-Jul-13 2:19 
QuestionRe: Compile error caused from big header file Pin
David Crow10-Jul-13 6:17
David Crow10-Jul-13 6:17 
AnswerRe: Compile error caused from big header file Pin
Erudite_Eric10-Jul-13 23:12
Erudite_Eric10-Jul-13 23:12 
GeneralRe: Compile error caused from big header file Pin
leon de boer13-Aug-13 9:28
leon de boer13-Aug-13 9:28 

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.