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

C / C++ / MFC

 
GeneralRe: The thread 0x6B8 has exited with code 2 (0x2). Pin
QueenAzula26-Jun-23 2:17
QueenAzula26-Jun-23 2:17 
QuestionIs it possible to make asynchronous callback in win32 PRC? Pin
Coal Station5-Oct-05 8:46
Coal Station5-Oct-05 8:46 
QuestionComputing thread stack size Pin
Zykalus5-Oct-05 8:31
Zykalus5-Oct-05 8:31 
AnswerRe: Computing thread stack size Pin
Shog95-Oct-05 10:20
sitebuilderShog95-Oct-05 10:20 
GeneralRe: Computing thread stack size Pin
Blake V. Miller5-Oct-05 10:33
Blake V. Miller5-Oct-05 10:33 
GeneralRe: Computing thread stack size Pin
Shog95-Oct-05 11:09
sitebuilderShog95-Oct-05 11:09 
GeneralRe: Computing thread stack size Pin
Zykalus5-Oct-05 15:35
Zykalus5-Oct-05 15:35 
GeneralRe: Computing thread stack size Pin
Shog95-Oct-05 16:02
sitebuilderShog95-Oct-05 16:02 
Zykalus wrote:
Then, when the thread exits, dump the memory content and compare with an empty stack to compute the size.

I see... You might want to have a look at GetThreadContext() then. Haven't used it myself, but it looks like just what you're looking for.


AnswerRe: Computing thread stack size Pin
Blake V. Miller5-Oct-05 10:37
Blake V. Miller5-Oct-05 10:37 
GeneralRe: Computing thread stack size Pin
Zykalus5-Oct-05 11:03
Zykalus5-Oct-05 11:03 
GeneralRe: Computing thread stack size Pin
Gary R. Wheeler9-Oct-05 4:54
Gary R. Wheeler9-Oct-05 4:54 
QuestionTo fire a button click event programmatically Pin
Liu Shuai5-Oct-05 8:05
Liu Shuai5-Oct-05 8:05 
AnswerRe: To fire a button click event programmatically Pin
Jose Lamas Rios5-Oct-05 9:48
Jose Lamas Rios5-Oct-05 9:48 
GeneralRe: To fire a button click event programmatically Pin
Liu Shuai5-Oct-05 10:09
Liu Shuai5-Oct-05 10:09 
GeneralRe: To fire a button click event programmatically Pin
shweta yadaki9-Dec-13 19:11
shweta yadaki9-Dec-13 19:11 
QuestionWindow does not maximize when trying to run one instance of program Pin
elephantstar5-Oct-05 6:45
elephantstar5-Oct-05 6:45 
AnswerRe: Window does not maximize when trying to run one instance of program Pin
Jeffrey Walton5-Oct-05 9:31
Jeffrey Walton5-Oct-05 9:31 
AnswerRe: Window does not maximize when trying to run one instance of program Pin
Bartosz Bien5-Oct-05 12:02
Bartosz Bien5-Oct-05 12:02 
GeneralRe: Window does not maximize when trying to run one instance of program Pin
elephantstar5-Oct-05 14:00
elephantstar5-Oct-05 14:00 
QuestionI don't get to read the file lines Pin
Alex Cutovoi5-Oct-05 6:24
Alex Cutovoi5-Oct-05 6:24 
QuestionRe: I don't get to read the file lines Pin
David Crow5-Oct-05 6:36
David Crow5-Oct-05 6:36 
Question[Message Deleted] Pin
ddmcr5-Oct-05 5:03
ddmcr5-Oct-05 5:03 
AnswerRe: char [] problem Pin
Chris Losinger5-Oct-05 5:10
professionalChris Losinger5-Oct-05 5:10 
AnswerRe: char [] problem Pin
toxcct5-Oct-05 5:20
toxcct5-Oct-05 5:20 
QuestionQuestion about CString Pin
LaHaHa5-Oct-05 4:29
LaHaHa5-Oct-05 4:29 

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.