Click here to Skip to main content
15,920,603 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: plz heeeeeeeeeelp meeeeee read/write C++ glopal text files problem Pin
top7ob13-Nov-06 21:15
top7ob13-Nov-06 21:15 
GeneralRe: plz heeeeeeeeeelp meeeeee read/write C++ glopal text files problem Pin
Christian Graus13-Nov-06 21:27
protectorChristian Graus13-Nov-06 21:27 
Questionvery big cstringarray Pin
ayol1212213-Nov-06 12:20
ayol1212213-Nov-06 12:20 
AnswerRe: very big cstringarray Pin
Anthony Mushrow13-Nov-06 12:36
professionalAnthony Mushrow13-Nov-06 12:36 
AnswerRe: very big cstringarray Pin
Mark Salsbery13-Nov-06 13:59
Mark Salsbery13-Nov-06 13:59 
AnswerRe: very big cstringarray Pin
Waldermort13-Nov-06 17:35
Waldermort13-Nov-06 17:35 
GeneralRe: very big cstringarray Pin
ayol1212213-Nov-06 23:56
ayol1212213-Nov-06 23:56 
AnswerRe: very big cstringarray Pin
S Douglas13-Nov-06 19:55
professionalS Douglas13-Nov-06 19:55 
ayol12122 wrote:
there is some way to reduce this Ram abuse to a more reasonable value?


Im not entirely sure this is related or not as I use std::vector for arrays, but MSDN
CStringArray Class [^] has the following little tidbit that might be of interest to you.


MSDN wrote:

Before using an array, use SetSize to establish its size and allocate memory for it. If you do not use SetSize, adding elements to your array causes it to be frequently reallocated and copied. Frequent reallocation and copying are inefficient and can fragment memory.
Unsure | :~




I'd love to help, but unfortunatley I have prior commitments monitoring the length of my grass. :Andrew Bleakley:


AnswerRe: very big cstringarray Pin
David Crow14-Nov-06 3:29
David Crow14-Nov-06 3:29 
QuestionTerminating a process Pin
Jim Crafton13-Nov-06 9:45
Jim Crafton13-Nov-06 9:45 
AnswerRe: Terminating a process Pin
led mike13-Nov-06 9:51
led mike13-Nov-06 9:51 
QuestionRe: Terminating a process Pin
David Crow13-Nov-06 9:55
David Crow13-Nov-06 9:55 
AnswerRe: Terminating a process Pin
Jim Crafton13-Nov-06 10:03
Jim Crafton13-Nov-06 10:03 
AnswerRe: Terminating a process Pin
#realJSOP13-Nov-06 10:15
professional#realJSOP13-Nov-06 10:15 
JokeRe: Terminating a process Pin
led mike13-Nov-06 10:43
led mike13-Nov-06 10:43 
AnswerRe: Terminating a process Pin
Stephen Hewitt13-Nov-06 13:21
Stephen Hewitt13-Nov-06 13:21 
QuestionAutomation server - Coclass registration problem Pin
User 21559713-Nov-06 6:48
User 21559713-Nov-06 6:48 
QuestionMessage Map doesn't work in dynamically loaded dll Pin
Stefan Rehling13-Nov-06 6:39
Stefan Rehling13-Nov-06 6:39 
AnswerRe: Message Map doesn't work in dynamically loaded dll Pin
Mark Salsbery13-Nov-06 7:29
Mark Salsbery13-Nov-06 7:29 
GeneralRe: Message Map doesn't work in dynamically loaded dll Pin
Stefan Rehling13-Nov-06 8:05
Stefan Rehling13-Nov-06 8:05 
GeneralRe: Message Map doesn't work in dynamically loaded dll Pin
Mark Salsbery13-Nov-06 8:27
Mark Salsbery13-Nov-06 8:27 
GeneralRe: Message Map doesn't work in dynamically loaded dll Pin
Mark Salsbery13-Nov-06 8:46
Mark Salsbery13-Nov-06 8:46 
GeneralRe: Message Map doesn't work in dynamically loaded dll Pin
Stefan Rehling13-Nov-06 22:31
Stefan Rehling13-Nov-06 22:31 
QuestionafxOccMgr and pWndCtrl problems Pin
earlgraham13-Nov-06 6:36
earlgraham13-Nov-06 6:36 
QuestionMultiLanguage Engine Pin
dannygilbert313-Nov-06 6:11
dannygilbert313-Nov-06 6:11 

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.