Click here to Skip to main content
15,894,405 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Not a question, just a lament about metaprogramming Pin
honey the codewitch9-Nov-23 7:10
mvahoney the codewitch9-Nov-23 7:10 
GeneralRe: Not a question, just a lament about metaprogramming Pin
jschell10-Nov-23 5:23
jschell10-Nov-23 5:23 
GeneralRe: Not a question, just a lament about metaprogramming Pin
honey the codewitch10-Nov-23 5:37
mvahoney the codewitch10-Nov-23 5:37 
GeneralRe: Not a question, just a lament about metaprogramming Pin
honey the codewitch8-Nov-23 6:17
mvahoney the codewitch8-Nov-23 6:17 
QuestionHow to extract all words - using regular expression Pin
Salvatore Terress26-Oct-23 6:35
Salvatore Terress26-Oct-23 6:35 
AnswerRe: How to extract all words - using regular expression Pin
k505426-Oct-23 7:21
mvek505426-Oct-23 7:21 
AnswerRe: How to extract all words - using regular expression Pin
Richard Andrew x6426-Oct-23 8:51
professionalRichard Andrew x6426-Oct-23 8:51 
AnswerRe: How to extract all words - using regular expression Pin
Richard MacCutchan26-Oct-23 22:16
mveRichard MacCutchan26-Oct-23 22:16 
GeneralRe: How to extract all words - using regular expression Pin
Salvatore Terress27-Oct-23 10:21
Salvatore Terress27-Oct-23 10:21 
GeneralRe: How to extract all words - using regular expression Pin
Richard MacCutchan27-Oct-23 22:13
mveRichard MacCutchan27-Oct-23 22:13 
AnswerRe: How to extract all words - using regular expression Pin
jschell27-Oct-23 10:11
jschell27-Oct-23 10:11 
GeneralRe: How to extract all words - using regular expression Pin
Salvatore Terress27-Oct-23 14:01
Salvatore Terress27-Oct-23 14:01 
GeneralRe: How to extract all words - using regular expression Pin
Salvatore Terress28-Oct-23 5:21
Salvatore Terress28-Oct-23 5:21 
GeneralRe: How to extract all words - using regular expression Pin
k505428-Oct-23 6:27
mvek505428-Oct-23 6:27 
GeneralRe: How to extract all words - using regular expression Pin
jschell30-Oct-23 5:23
jschell30-Oct-23 5:23 
AnswerRe: How to extract all words - using regular expression Pin
Salvatore Terress29-Oct-23 4:48
Salvatore Terress29-Oct-23 4:48 
Questioncalled pointer is null... Pin
Salvatore Terress24-Oct-23 6:50
Salvatore Terress24-Oct-23 6:50 
AnswerRe: called pointer is null... Pin
k505424-Oct-23 7:01
mvek505424-Oct-23 7:01 
AnswerRe: called pointer is null... Pin
Dave Kreskowiak24-Oct-23 7:10
mveDave Kreskowiak24-Oct-23 7:10 
GeneralMessage Closed Pin
24-Oct-23 8:15
Salvatore Terress24-Oct-23 8:15 
GeneralRe: called pointer is null... Pin
Dave Kreskowiak24-Oct-23 9:00
mveDave Kreskowiak24-Oct-23 9:00 
AnswerRe: called pointer is null... Pin
Richard MacCutchan24-Oct-23 22:12
mveRichard MacCutchan24-Oct-23 22:12 
GeneralRe: called pointer is null... Pin
CPallini24-Oct-23 22:38
mveCPallini24-Oct-23 22:38 
GeneralRe: called pointer is null... Pin
jschell25-Oct-23 4:44
jschell25-Oct-23 4:44 
Richard MacCutchan wrote:
If the object is NULL, then you skip to line 14


The OP shows the posted output. For example the following line.

" Sucess Found textEdit "


So line 5 is being executed (and the other lines in that block by the rest of the output.)

Of course the code is still wrong if the null pointer does show up.

Richard MacCutchan wrote:
the debug output you have shown above does not match that code


Perhaps that is the actual problem. They think they are running the code shown but the code being executed is different. I have had that happen to me. Often enough that I probably do compiles, cleans and builds far more often than is needed.
GeneralRe: called pointer is null... Pin
Richard MacCutchan25-Oct-23 4:50
mveRichard MacCutchan25-Oct-23 4:50 

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.