Click here to Skip to main content
15,886,919 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: dynamically reading data?? Pin
srvsah26-Sep-07 2:25
srvsah26-Sep-07 2:25 
AnswerRe: dynamically reading data?? Pin
Matthew Faithfull25-Sep-07 3:38
Matthew Faithfull25-Sep-07 3:38 
AnswerRe: dynamically reading data?? Pin
Hamid_RT25-Sep-07 19:33
Hamid_RT25-Sep-07 19:33 
QuestionCString max character length Pin
GDavy25-Sep-07 3:02
GDavy25-Sep-07 3:02 
AnswerRe: CString max character length Pin
toxcct25-Sep-07 3:22
toxcct25-Sep-07 3:22 
GeneralRe: CString max character length Pin
Matthew Faithfull25-Sep-07 3:24
Matthew Faithfull25-Sep-07 3:24 
GeneralRe: CString max character length Pin
toxcct25-Sep-07 3:26
toxcct25-Sep-07 3:26 
GeneralRe: CString max character length Pin
Matthew Faithfull25-Sep-07 4:14
Matthew Faithfull25-Sep-07 4:14 
std::string is fine if you don't care how the code you're using works. To most developers it's still unreadable gibberish with inadequate usage documentation of precisely the 'how much can it hold' type that the OP is interested in. I code on everything from Windows 3.11 to Vista and on CE in what is still, essentially, MFC 3, have written my own replacement CString class and have written a commercial inline parser generator which uses preallocated 64K text buffers, simple, reliable, consistent, fast and easy to understand. So yes if someone is struggling with determining a size limit from the CString code and dealing with 32K+ lumps of text data then I think simple buffers are good advice. KISS was the first and last thing my C++ lecturers ever taught me.Smile | :)

Nothing is exactly what it seems but everything with seems can be unpicked.

GeneralRe: CString max character length Pin
GDavy25-Sep-07 4:13
GDavy25-Sep-07 4:13 
GeneralRe: CString max character length Pin
Mark Salsbery25-Sep-07 7:39
Mark Salsbery25-Sep-07 7:39 
GeneralRe: CString max character length Pin
David Crow25-Sep-07 4:40
David Crow25-Sep-07 4:40 
JokeRe: CString max character length Pin
Matthew Faithfull25-Sep-07 4:42
Matthew Faithfull25-Sep-07 4:42 
AnswerRe: CString max character length Pin
KarstenK25-Sep-07 3:25
mveKarstenK25-Sep-07 3:25 
AnswerRe: CString max character length Pin
Hamid_RT25-Sep-07 19:31
Hamid_RT25-Sep-07 19:31 
Questionwindows vista & explorer Pin
mitok25-Sep-07 2:23
mitok25-Sep-07 2:23 
QuestionExceptions being thrown Pin
Waldermort25-Sep-07 0:38
Waldermort25-Sep-07 0:38 
AnswerRe: Exceptions being thrown Pin
DevMentor.org25-Sep-07 1:02
DevMentor.org25-Sep-07 1:02 
AnswerRe: Exceptions being thrown Pin
Waldermort25-Sep-07 2:20
Waldermort25-Sep-07 2:20 
GeneralRe: Exceptions being thrown Pin
DevMentor.org25-Sep-07 6:50
DevMentor.org25-Sep-07 6:50 
QuestionRe: Exceptions being thrown Pin
David Crow25-Sep-07 3:00
David Crow25-Sep-07 3:00 
AnswerRe: Exceptions being thrown Pin
Waldermort25-Sep-07 3:10
Waldermort25-Sep-07 3:10 
AnswerRe: Exceptions being thrown Pin
KarstenK25-Sep-07 4:24
mveKarstenK25-Sep-07 4:24 
QuestionHow to disable top level menu on a dialog box Pin
msr_codeproject25-Sep-07 0:30
msr_codeproject25-Sep-07 0:30 
AnswerRe: How to disable top level menu on a dialog box Pin
Nishad S25-Sep-07 0:47
Nishad S25-Sep-07 0:47 
AnswerRe: How to disable top level menu on a dialog box Pin
Nelek25-Sep-07 0:48
protectorNelek25-Sep-07 0:48 

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.