Click here to Skip to main content
15,914,225 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to retrieve the memory information Pin
cy163@hotmail.com15-Nov-06 4:05
cy163@hotmail.com15-Nov-06 4:05 
AnswerRe: How to retrieve the memory information Pin
Programm3r15-Nov-06 4:16
Programm3r15-Nov-06 4:16 
GeneralRe: How to retrieve the memory information Pin
David Crow15-Nov-06 4:27
David Crow15-Nov-06 4:27 
GeneralRe: How to retrieve the memory information Pin
Programm3r15-Nov-06 4:33
Programm3r15-Nov-06 4:33 
QuestionRe: How to retrieve the memory information Pin
David Crow15-Nov-06 4:23
David Crow15-Nov-06 4:23 
AnswerRe: How to retrieve the memory information Pin
Viorel.15-Nov-06 4:43
Viorel.15-Nov-06 4:43 
QuestionHow to test for a Bad Ptr "0xcccccccc" Pin
Programm3r15-Nov-06 3:18
Programm3r15-Nov-06 3:18 
AnswerRe: How to test for a Bad Ptr "0xcccccccc" Pin
Cedric Moonen15-Nov-06 3:21
Cedric Moonen15-Nov-06 3:21 
Always always always (and many more Poke tongue | ;-P ) initialize your variables and pointers in your constructor (or at the start of your program). In your case, loop through the array and set all the pointers to NULL:

for (int i=0;i<10;i++)<br />
{<br />
    SendFiles[i] = NULL;<br />
}



Cédric Moonen
Software developer

Charting control [v1.1]

GeneralRe: How to test for a Bad Ptr "0xcccccccc" Pin
Programm3r15-Nov-06 3:23
Programm3r15-Nov-06 3:23 
QuestionRe: How to test for a Bad Ptr "0xcccccccc" Pin
Programm3r15-Nov-06 3:38
Programm3r15-Nov-06 3:38 
AnswerRe: How to test for a Bad Ptr "0xcccccccc" Pin
Maximilien15-Nov-06 3:43
Maximilien15-Nov-06 3:43 
GeneralRe: How to test for a Bad Ptr "0xcccccccc" Pin
Programm3r15-Nov-06 4:03
Programm3r15-Nov-06 4:03 
AnswerRe: How to test for a Bad Ptr &quot;0xcccccccc&quot; Pin
Chris Losinger15-Nov-06 3:34
professionalChris Losinger15-Nov-06 3:34 
GeneralRe: How to test for a Bad Ptr &quot;0xcccccccc&quot; Pin
Programm3r15-Nov-06 3:42
Programm3r15-Nov-06 3:42 
GeneralRe: How to test for a Bad Ptr &quot;0xcccccccc&quot; Pin
James R. Twine15-Nov-06 7:37
James R. Twine15-Nov-06 7:37 
QuestionOwner draw buttton:Unable to handle enter key event Pin
Manish_Home15-Nov-06 3:13
Manish_Home15-Nov-06 3:13 
AnswerRe: Owner draw buttton:Unable to handle enter key event Pin
Hamid_RT15-Nov-06 7:54
Hamid_RT15-Nov-06 7:54 
GeneralRe: Owner draw buttton:Unable to handle enter key event Pin
Manish_Home15-Nov-06 17:22
Manish_Home15-Nov-06 17:22 
GeneralRe: Owner draw buttton:Unable to handle enter key event Pin
Hamid_RT15-Nov-06 18:36
Hamid_RT15-Nov-06 18:36 
GeneralRe: Owner draw buttton:Unable to handle enter key event Pin
Manish_Home15-Nov-06 19:17
Manish_Home15-Nov-06 19:17 
GeneralRe: Owner draw buttton:Unable to handle enter key event Pin
Hamid_RT15-Nov-06 20:07
Hamid_RT15-Nov-06 20:07 
GeneralRe: Owner draw buttton:Unable to handle enter key event Pin
Manish_Home15-Nov-06 20:30
Manish_Home15-Nov-06 20:30 
GeneralRe: Owner draw buttton:Unable to handle enter key event Pin
Hamid_RT15-Nov-06 21:00
Hamid_RT15-Nov-06 21:00 
GeneralRe: Owner draw buttton:Unable to handle enter key event Pin
Manish_Home14-Dec-06 22:10
Manish_Home14-Dec-06 22:10 
GeneralRe: Owner draw buttton:Unable to handle enter key event Pin
Hamid_RT14-Dec-06 22:30
Hamid_RT14-Dec-06 22:30 

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.