Click here to Skip to main content
15,919,613 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: After WM_PAINT, button disappears Pin
Christian Graus27-Sep-06 15:57
protectorChristian Graus27-Sep-06 15:57 
GeneralRe: After WM_PAINT, button disappears Pin
mfranco_neto27-Sep-06 16:35
mfranco_neto27-Sep-06 16:35 
GeneralRe: After WM_PAINT, button disappears Pin
mfranco_neto27-Sep-06 17:43
mfranco_neto27-Sep-06 17:43 
GeneralRe: After WM_PAINT, button disappears Pin
Shog927-Sep-06 18:51
sitebuilderShog927-Sep-06 18:51 
AnswerRe: After WM_PAINT, button disappears Pin
Shog927-Sep-06 18:50
sitebuilderShog927-Sep-06 18:50 
QuestionDialog control Pin
LCI27-Sep-06 11:12
LCI27-Sep-06 11:12 
AnswerRe: Dialog control Pin
Christian Graus27-Sep-06 11:24
protectorChristian Graus27-Sep-06 11:24 
GeneralRe: Dialog control Pin
LCI27-Sep-06 11:34
LCI27-Sep-06 11:34 
GeneralRe: Dialog control Pin
Christian Graus27-Sep-06 11:40
protectorChristian Graus27-Sep-06 11:40 
AnswerRe: Dialog control Pin
nutkase27-Sep-06 19:15
nutkase27-Sep-06 19:15 
GeneralRe: Dialog control Pin
LCI28-Sep-06 5:10
LCI28-Sep-06 5:10 
GeneralRe: Dialog control Pin
S Douglas30-Sep-06 23:15
professionalS Douglas30-Sep-06 23:15 
AnswerRe: Dialog control Pin
ShilpiP27-Sep-06 19:57
ShilpiP27-Sep-06 19:57 
AnswerRe: Dialog control Pin
David Crow28-Sep-06 3:26
David Crow28-Sep-06 3:26 
GeneralRe: Dialog control Pin
LCI28-Sep-06 5:40
LCI28-Sep-06 5:40 
GeneralRe: Dialog control Pin
David Crow28-Sep-06 5:47
David Crow28-Sep-06 5:47 
QuestionHandling Stack Overflow [modified] Pin
risingtechie27-Sep-06 10:53
risingtechie27-Sep-06 10:53 
AnswerRe: Handling Stack Overflow Pin
Zac Howland27-Sep-06 11:00
Zac Howland27-Sep-06 11:00 
risingtechie wrote:
Is it even possible to recover from a stack overflow?


Not really. When you think about it, using exceptions would require placing more items on the stack, calling a function to clean up the stack would also require putting items on the stack first. Basically, once the stack overruns the heap, you are screwed.

However, this should rarely happen with the amount of memory applications are afforded in systems these days. Generally, when it does, it is a sign of a bug (like the code you posted shows).

If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week

Zac

GeneralRe: Handling Stack Overflow Pin
risingtechie27-Sep-06 11:23
risingtechie27-Sep-06 11:23 
GeneralRe: Handling Stack Overflow Pin
Christian Graus27-Sep-06 11:26
protectorChristian Graus27-Sep-06 11:26 
GeneralRe: Handling Stack Overflow Pin
Zac Howland27-Sep-06 11:31
Zac Howland27-Sep-06 11:31 
AnswerRe: Handling Stack Overflow Pin
Stephen Hewitt27-Sep-06 14:12
Stephen Hewitt27-Sep-06 14:12 
AnswerRe: Handling Stack Overflow Pin
Shog927-Sep-06 19:03
sitebuilderShog927-Sep-06 19:03 
AnswerRe: Handling Stack Overflow Pin
ShilpiP27-Sep-06 20:03
ShilpiP27-Sep-06 20:03 
QuestionFast keyword Search through CSortedArray?? anyone? Pin
Greg Ellis27-Sep-06 9:50
Greg Ellis27-Sep-06 9: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.