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

C / C++ / MFC

 
JokeRe: Random number Pin
Nelek16-Dec-07 22:43
protectorNelek16-Dec-07 22:43 
JokeBut you can also... Pin
CPallini16-Dec-07 22:50
mveCPallini16-Dec-07 22:50 
GeneralRe: But you can also... Pin
Nelek17-Dec-07 1:43
protectorNelek17-Dec-07 1:43 
GeneralRe: But you can also... Pin
CPallini17-Dec-07 2:11
mveCPallini17-Dec-07 2:11 
GeneralRe: Random number Pin
toxcct16-Dec-07 22:56
toxcct16-Dec-07 22:56 
GeneralRe: Random number Pin
CPallini16-Dec-07 23:08
mveCPallini16-Dec-07 23:08 
GeneralStack Overflow - Urgent Pin
krishnan.s16-Dec-07 22:15
krishnan.s16-Dec-07 22:15 
GeneralRe: Stack Overflow - Urgent Pin
CPallini16-Dec-07 22:22
mveCPallini16-Dec-07 22:22 
krishnan.s wrote:
This call will go recursively until a condition is satisfied.
But after around 200 executions, if the condition is not getting satisfied, Stack overflow happens.


IMHO it is a bit too early, but anyway....


krishnan.s wrote:
Is there any way to call function B after the complete execution of A is getting finished. So that the scope of A will be completed before calling Function B.
What if call PostMessage in this case?


I think the question is: is the algo recursive?
If the answer is yes, then you can either try to increase stack size or transform the algo to do iteration instead of recursion.
If the answer is no, then you have to modify your buggy code.

Smile | :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.


GeneralRe: Stack Overflow - Urgent Pin
Matthew Faithfull16-Dec-07 23:08
Matthew Faithfull16-Dec-07 23:08 
QuestionHow to use iLBC codec Pin
programmer8116-Dec-07 22:09
programmer8116-Dec-07 22:09 
Questionmfc dialog application problem Pin
zengkun10016-Dec-07 21:58
zengkun10016-Dec-07 21:58 
GeneralRe: mfc dialog application problem Pin
CPallini16-Dec-07 22:12
mveCPallini16-Dec-07 22:12 
GeneralRe: mfc dialog application problem Pin
pierre_ribery16-Dec-07 22:37
pierre_ribery16-Dec-07 22:37 
GeneralWhy? Pin
CPallini16-Dec-07 22:47
mveCPallini16-Dec-07 22:47 
GeneralRe: Why? Pin
pierre_ribery16-Dec-07 22:58
pierre_ribery16-Dec-07 22:58 
GeneralRe: Why? [modified] Pin
CPallini16-Dec-07 23:04
mveCPallini16-Dec-07 23:04 
GeneralRe: Why? Pin
pierre_ribery16-Dec-07 23:08
pierre_ribery16-Dec-07 23:08 
GeneralRe: Why? Pin
CPallini16-Dec-07 23:17
mveCPallini16-Dec-07 23:17 
GeneralRe: Why? Pin
pierre_ribery16-Dec-07 23:29
pierre_ribery16-Dec-07 23:29 
GeneralRe: Why? Pin
CPallini16-Dec-07 23:34
mveCPallini16-Dec-07 23:34 
GeneralRe: Why? Pin
pierre_ribery16-Dec-07 23:37
pierre_ribery16-Dec-07 23:37 
JokeRe: Why? Pin
CPallini17-Dec-07 0:00
mveCPallini17-Dec-07 0:00 
GeneralRe: mfc dialog application problem Pin
zengkun10016-Dec-07 23:06
zengkun10016-Dec-07 23:06 
GeneralRe: mfc dialog application problem Pin
Nelek16-Dec-07 22:41
protectorNelek16-Dec-07 22:41 
GeneralRe: mfc dialog application problem Pin
zengkun10016-Dec-07 23:14
zengkun10016-Dec-07 23:14 

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.