Click here to Skip to main content
15,908,776 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Detecting if process is killed. Pin
Code-o-mat28-Jan-12 23:33
Code-o-mat28-Jan-12 23:33 
GeneralRe: Detecting if process is killed. Pin
Randor 29-Jan-12 11:03
professional Randor 29-Jan-12 11:03 
GeneralRe: Detecting if process is killed. Pin
Code-o-mat1-Feb-12 3:03
Code-o-mat1-Feb-12 3:03 
GeneralRe: Detecting if process is killed. Pin
Randor 1-Feb-12 7:32
professional Randor 1-Feb-12 7:32 
QuestionParsing in C Pin
Software200727-Jan-12 8:29
Software200727-Jan-12 8:29 
AnswerRe: Parsing in C Pin
Chris Meech27-Jan-12 8:57
Chris Meech27-Jan-12 8:57 
GeneralRe: Parsing in C Pin
Software200727-Jan-12 9:09
Software200727-Jan-12 9:09 
GeneralRe: Parsing in C Pin
Chris Meech27-Jan-12 9:28
Chris Meech27-Jan-12 9:28 
How about an ASCII picture.
                          Start        End
                          Index       Index
                            |           |
LPTSTR str = "<xyz>texttext2<h>header</h><xyz>";
                            |            |____|
                            |         Stuff to move-+
                            |                       |
                            +--<--< goes here -<--<-+       

The first function will return the start index.
The second function will return the end index.
The third function will move all characters after the end index to the end of the string and place them in start index resulting in
LPTSTR str = "<xyz>texttext2<xyz>";


Hope that is clearer. Smile | :)
Chris Meech
I am Canadian. [heard in a local bar]

In theory there is no difference between theory and practice. In practice there is. [Yogi Berra]

posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]

GeneralRe: Parsing in C Pin
CPallini28-Jan-12 23:03
mveCPallini28-Jan-12 23:03 
GeneralRe: Parsing in C Pin
Erudite_Eric29-Jan-12 21:10
Erudite_Eric29-Jan-12 21:10 
AnswerRe: Parsing in C Pin
David Crow27-Jan-12 9:38
David Crow27-Jan-12 9:38 
GeneralRe: Parsing in C Pin
Software200727-Jan-12 9:52
Software200727-Jan-12 9:52 
GeneralRe: Parsing in C Pin
David Crow27-Jan-12 10:09
David Crow27-Jan-12 10:09 
Questionread/write disk sectors Pin
RomTibi27-Jan-12 7:21
RomTibi27-Jan-12 7:21 
QuestionProcess not entirely exiting Pin
Joe Woodbury27-Jan-12 5:49
professionalJoe Woodbury27-Jan-12 5:49 
AnswerRe: Process not entirely exiting Pin
Randor 27-Jan-12 6:33
professional Randor 27-Jan-12 6:33 
QuestionSet the font for text Pin
MKC00226-Jan-12 18:05
MKC00226-Jan-12 18:05 
QuestionRe: Set the font for text Pin
«_Superman_»26-Jan-12 18:36
professional«_Superman_»26-Jan-12 18:36 
AnswerRe: Set the font for text Pin
MKC00226-Jan-12 20:41
MKC00226-Jan-12 20:41 
GeneralRe: Set the font for text Pin
«_Superman_»26-Jan-12 20:48
professional«_Superman_»26-Jan-12 20:48 
GeneralRe: Set the font for text Pin
MKC00227-Jan-12 7:45
MKC00227-Jan-12 7:45 
GeneralRe: Set the font for text Pin
MKC00227-Jan-12 8:44
MKC00227-Jan-12 8:44 
QuestionMemory increase in List Control Pin
VCProgrammer26-Jan-12 18:03
VCProgrammer26-Jan-12 18:03 
AnswerRe: Memory increase in List Control Pin
Mohibur Rashid26-Jan-12 19:34
professionalMohibur Rashid26-Jan-12 19:34 
QuestionCString::Find problem Pin
ForNow26-Jan-12 17:19
ForNow26-Jan-12 17:19 

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.