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

C / C++ / MFC

 
GeneralRe: MFC menu issues Pin
LighthouseJ5-Oct-05 10:52
LighthouseJ5-Oct-05 10:52 
GeneralRe: MFC menu issues (update) Pin
LighthouseJ5-Oct-05 11:56
LighthouseJ5-Oct-05 11:56 
AnswerRe: MFC menu issues Pin
Bartosz Bien5-Oct-05 11:57
Bartosz Bien5-Oct-05 11:57 
GeneralRe: MFC menu issues Pin
LighthouseJ5-Oct-05 12:32
LighthouseJ5-Oct-05 12:32 
AnswerRe: MFC menu issues Pin
Jose Lamas Rios5-Oct-05 18:35
Jose Lamas Rios5-Oct-05 18:35 
QuestionFile Change Event CDialog Pin
picazo5-Oct-05 10:01
picazo5-Oct-05 10:01 
AnswerRe: File Change Event CDialog Pin
Blake V. Miller5-Oct-05 10:28
Blake V. Miller5-Oct-05 10:28 
QuestionThe thread 0x6B8 has exited with code 2 (0x2). Pin
valerie995-Oct-05 9:25
valerie995-Oct-05 9:25 
Good afternoon

I got this message for the app after finished debug:
The thread 0x6B8 has exited with code 2 (0x2).
The program 'C:\DEV\C++\Billing\Report\Debug\Report.exe' has exited with code 2 (0x2).

the 0x6B8 thread is CDialog::OnCancel, the part of code that calling OnCancel is from here:
LRESULT CReportDlg::OnComplete( WPARAM, LPARAM )
{
m_thrReport.Wait( INFINITE );
PostMessage( WM_CLOSE );

return S_OK;
}
Is it because of infinite waiting causing exited with code 2? what is code 2 mean? thank you!
AnswerRe: The thread 0x6B8 has exited with code 2 (0x2). Pin
Blake V. Miller5-Oct-05 10:25
Blake V. Miller5-Oct-05 10:25 
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 
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 

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.