Click here to Skip to main content
15,902,276 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: persistent crash on tester's computers that I can't reproduce Pin
Luc Pattyn15-Mar-10 17:30
sitebuilderLuc Pattyn15-Mar-10 17:30 
GeneralRe: persistent crash on tester's computers that I can't reproduce Pin
permutations15-Mar-10 17:37
permutations15-Mar-10 17:37 
AnswerRe: persistent crash on tester's computers that I can't reproduce Pin
Adam Roderick J15-Mar-10 20:25
Adam Roderick J15-Mar-10 20:25 
AnswerRe: persistent crash on tester's computers that I can't reproduce Pin
Roger Allen16-Mar-10 5:01
Roger Allen16-Mar-10 5:01 
GeneralRe: persistent crash on tester's computers that I can't reproduce Pin
permutations16-Mar-10 5:13
permutations16-Mar-10 5:13 
GeneralRe: persistent crash on tester's computers that I can't reproduce Pin
Roger Allen16-Mar-10 6:03
Roger Allen16-Mar-10 6:03 
AnswerRe: persistent crash on tester's computers that I can't reproduce Pin
Rolf Kristensen16-Mar-10 14:03
Rolf Kristensen16-Mar-10 14:03 
GeneralRe: persistent crash on tester's computers that I can't reproduce Pin
permutations16-Mar-10 14:16
permutations16-Mar-10 14:16 
Yes, yes, and yes - thanks. I can see this is the direction I need to go.

I have WinDbg installed, but my knowledge of how to use it is minimal. I've used it to view crash dumps, but never for remote debugging and I don't know how that works. I need to google remote debugging for more detailed instructions.

Snakefoot wrote:
I would add the following to the problem line you have shown:
# Check that m_pRecentFileList != NULL
# Change m_arrNames to a proper container and check the size of that instead of using m_nSize


Yeah, it's becoming clear to me that I need to check this pointer before trying to use it. The reason I didn't is that I didn't think there was any way it could be invalid after I'd made the call to LoadStdProfileSettings(4);. Could you tell me under what circumstances this structure might not be populated properly after this call? There's no return value to check with LoadStdProfileSettings.

I don't know what you mean by "change m_arrNames to a proper container". What is a "proper container". Confession: I learned to program in the pre-Windows DOS world (I am old) and I'm more adept with procedural programming than object-oriented programming.
GeneralRe: persistent crash on tester's computers that I can't reproduce Pin
Rolf Kristensen16-Mar-10 14:21
Rolf Kristensen16-Mar-10 14:21 
GeneralRe: persistent crash on tester's computers that I can't reproduce [modified] Pin
permutations17-Mar-10 3:31
permutations17-Mar-10 3:31 
GeneralRe: persistent crash on tester's computers that I can't reproduce Pin
permutations17-Mar-10 12:07
permutations17-Mar-10 12:07 
GeneralRe: persistent crash on tester's computers that I can't reproduce Pin
permutations18-Mar-10 10:09
permutations18-Mar-10 10:09 
QuestionSystem Tray Icon Pin
MrMcIntyre15-Mar-10 9:40
MrMcIntyre15-Mar-10 9:40 
AnswerRe: System Tray Icon Pin
Stuart Dootson15-Mar-10 10:04
professionalStuart Dootson15-Mar-10 10:04 
AnswerRe: System Tray Icon Pin
LouisLewis15-Mar-10 10:09
LouisLewis15-Mar-10 10:09 
GeneralRe: System Tray Icon Pin
MrMcIntyre15-Mar-10 10:12
MrMcIntyre15-Mar-10 10:12 
GeneralRe: System Tray Icon Pin
LouisLewis15-Mar-10 10:15
LouisLewis15-Mar-10 10:15 
GeneralRe: System Tray Icon Pin
MrMcIntyre15-Mar-10 10:18
MrMcIntyre15-Mar-10 10:18 
GeneralRe: System Tray Icon Pin
LouisLewis15-Mar-10 10:31
LouisLewis15-Mar-10 10:31 
GeneralRe: System Tray Icon Pin
MrMcIntyre15-Mar-10 10:32
MrMcIntyre15-Mar-10 10:32 
GeneralRe: System Tray Icon Pin
LouisLewis15-Mar-10 11:06
LouisLewis15-Mar-10 11:06 
AnswerRe: System Tray Icon Pin
David Crow15-Mar-10 10:35
David Crow15-Mar-10 10:35 
GeneralRe: System Tray Icon Pin
MrMcIntyre15-Mar-10 11:34
MrMcIntyre15-Mar-10 11:34 
GeneralRe: System Tray Icon Pin
LouisLewis15-Mar-10 11:49
LouisLewis15-Mar-10 11:49 
QuestionRe: System Tray Icon Pin
David Crow15-Mar-10 16:48
David Crow15-Mar-10 16: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.