Click here to Skip to main content
16,016,301 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionAdding BigInt's Pin
TannerB10-Jul-09 9:35
TannerB10-Jul-09 9:35 
AnswerRe: Adding BigInt's Pin
josda100010-Jul-09 9:57
josda100010-Jul-09 9:57 
Question"Debug Assert Error" in VC++.NET Pin
james_bond10-Jul-09 8:00
james_bond10-Jul-09 8:00 
AnswerRe: "Debug Assert Error" in VC++.NET Pin
josda100010-Jul-09 8:33
josda100010-Jul-09 8:33 
GeneralRe: "Debug Assert Error" in VC++.NET Pin
james_bond10-Jul-09 10:56
james_bond10-Jul-09 10:56 
AnswerRe: "Debug Assert Error" in VC++.NET Pin
josda100010-Jul-09 11:07
josda100010-Jul-09 11:07 
GeneralRe: "Debug Assert Error" in VC++.NET Pin
james_bond10-Jul-09 14:05
james_bond10-Jul-09 14:05 
GeneralRe: "Debug Assert Error" in VC++.NET Pin
josda100010-Jul-09 16:02
josda100010-Jul-09 16:02 
A) Is the CDialog::OnClose() method called before or after you try to shut down the thread? This could have been a quick hack to fix the problem, though not a solid solution.

B) Seriously, Stuart is right. Threads should post messages to the main application, and not to dialogs directly, that way pointers and objects that are not valid are thrown away easily by the operating system, and you don't have to worry about this sort of thing consistently. I would rework the code as suggested by Stuart. But it shouldn't be that difficult.
AnswerRe: "Debug Assert Error" in VC++.NET Pin
Stuart Dootson10-Jul-09 8:35
professionalStuart Dootson10-Jul-09 8:35 
QuestionRelease Mode issue Pin
dipuks10-Jul-09 7:30
dipuks10-Jul-09 7:30 
AnswerRe: Release Mode issue Pin
Stuart Dootson10-Jul-09 8:31
professionalStuart Dootson10-Jul-09 8:31 
AnswerRe: Release Mode issue Pin
Cyrilix10-Jul-09 11:29
Cyrilix10-Jul-09 11:29 
QuestionCD Drive functions Pin
dipuks10-Jul-09 7:27
dipuks10-Jul-09 7:27 
AnswerRe: CD Drive functions Pin
David Crow10-Jul-09 8:00
David Crow10-Jul-09 8:00 
Questiondefault parameters - functions Pin
john john mackey10-Jul-09 6:41
john john mackey10-Jul-09 6:41 
AnswerRe: default parameters - functions Pin
krmed10-Jul-09 7:01
krmed10-Jul-09 7:01 
GeneralRe: default parameters - functions Pin
john john mackey10-Jul-09 7:34
john john mackey10-Jul-09 7:34 
GeneralRe: default parameters - functions Pin
David Crow10-Jul-09 8:02
David Crow10-Jul-09 8:02 
AnswerRe: default parameters - functions Pin
josda100010-Jul-09 8:05
josda100010-Jul-09 8:05 
GeneralRe: default parameters - functions Pin
John R. Shaw10-Jul-09 8:09
John R. Shaw10-Jul-09 8:09 
GeneralRe: default parameters - functions Pin
rew´RaZiel17-Jul-09 21:40
rew´RaZiel17-Jul-09 21:40 
QuestionCreate 16 bit process under 32bit using CreateProcess Pin
RoryODonnell10-Jul-09 4:41
RoryODonnell10-Jul-09 4:41 
Questioncrashed ( i CSimpleStringT ) when new control are added to dialog Pin
Bilge Kaan10-Jul-09 4:02
Bilge Kaan10-Jul-09 4:02 
QuestionRe: crashed ( i CSimpleStringT ) when new control are added to dialog Pin
David Crow10-Jul-09 4:33
David Crow10-Jul-09 4:33 
AnswerRe: crashed ( i CSimpleStringT ) when new control are added to dialog Pin
Bilge Kaan10-Jul-09 5:04
Bilge Kaan10-Jul-09 5:04 

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.