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

C / C++ / MFC

 
GeneralRe: using PictureBox Pin
Semion_N4-Sep-06 18:20
Semion_N4-Sep-06 18:20 
GeneralRe: using PictureBox Pin
Semion_N5-Sep-06 2:54
Semion_N5-Sep-06 2:54 
QuestionVirtual List View advanced question….?# can u help pls? Pin
Cy#4-Sep-06 8:15
Cy#4-Sep-06 8:15 
AnswerRe: Virtual List View advanced question….?# can u help pls? Pin
Michael Dunn4-Sep-06 9:13
sitebuilderMichael Dunn4-Sep-06 9:13 
GeneralRe: Virtual List View advanced question….?# can u help pls? Pin
Cy#4-Sep-06 9:33
Cy#4-Sep-06 9:33 
Questionincludes MFC Pin
amzeus4-Sep-06 8:12
amzeus4-Sep-06 8:12 
AnswerRe: includes MFC Pin
Cedric Moonen4-Sep-06 8:29
Cedric Moonen4-Sep-06 8:29 
Questionmemory managment Pin
Waldermort4-Sep-06 7:42
Waldermort4-Sep-06 7:42 
What I want to do is probably impossible, but regardless, I would still like your thought and comments.

Lets say we have a c style string. We have a pointer to the begining and the end is found by increasing the pointer until we reach a null char. strings 101. But now lets say we have a 'fragmented' string (ie there are two halves to the same string, each half having a pointer. We know both pointers we also know the exact length of each part.

First. Is it possible to return this string from a function, without allocating, copying and merging?

Second. Is it possible to write a string to fragmented memory like this? Again without chopping.

Idealy what I want is to line the pointers up, taking the block size into account, and return a single pointer.
AnswerRe: memory managment Pin
Michael Dunn4-Sep-06 9:20
sitebuilderMichael Dunn4-Sep-06 9:20 
GeneralRe: memory managment Pin
Waldermort4-Sep-06 19:36
Waldermort4-Sep-06 19:36 
QuestionA question about locking thread Pin
Toubou4-Sep-06 7:23
Toubou4-Sep-06 7:23 
AnswerRe: A question about locking thread Pin
Waldermort4-Sep-06 7:49
Waldermort4-Sep-06 7:49 
QuestionRe: A question about locking thread Pin
Toubou4-Sep-06 18:51
Toubou4-Sep-06 18:51 
AnswerRe: A question about locking thread Pin
Waldermort4-Sep-06 23:35
Waldermort4-Sep-06 23:35 
Questionuser.dmp issue Pin
Rob Caldecott4-Sep-06 6:40
Rob Caldecott4-Sep-06 6:40 
Answerwindbg to the rescue! Pin
Rob Caldecott4-Sep-06 6:58
Rob Caldecott4-Sep-06 6:58 
GeneralRe: windbg to the rescue! Pin
Waldermort4-Sep-06 7:03
Waldermort4-Sep-06 7:03 
Questionreplacing a string with a sub-string Pin
jon-804-Sep-06 6:29
professionaljon-804-Sep-06 6:29 
AnswerRe: replacing a string with a sub-string Pin
Graham Shanks4-Sep-06 12:28
Graham Shanks4-Sep-06 12:28 
Questionreduce the size of an array of chars.... Pin
jon-804-Sep-06 6:22
professionaljon-804-Sep-06 6:22 
AnswerRe: reduce the size of an array of chars.... Pin
Waldermort4-Sep-06 6:25
Waldermort4-Sep-06 6:25 
GeneralRe: reduce the size of an array of chars.... Pin
jon-804-Sep-06 6:32
professionaljon-804-Sep-06 6:32 
GeneralRe: reduce the size of an array of chars.... Pin
Waldermort4-Sep-06 6:43
Waldermort4-Sep-06 6:43 
GeneralRe: reduce the size of an array of chars.... Pin
jon-804-Sep-06 8:11
professionaljon-804-Sep-06 8:11 
QuestionControl handles Pin
Oliver1234-Sep-06 6:17
Oliver1234-Sep-06 6:17 

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.