Click here to Skip to main content
15,890,897 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: fstream Pin
Cedric Moonen22-Oct-06 23:06
Cedric Moonen22-Oct-06 23:06 
GeneralRe: fstream Pin
David Crow23-Oct-06 4:08
David Crow23-Oct-06 4:08 
AnswerRe: fstream Pin
mpk197922-Oct-06 22:47
mpk197922-Oct-06 22:47 
QuestionAssertion error upon second run of thread Pin
searcher0822-Oct-06 17:14
searcher0822-Oct-06 17:14 
AnswerRe: Assertion error upon second run of thread Pin
Blake Miller23-Oct-06 4:12
Blake Miller23-Oct-06 4:12 
GeneralRe: Assertion error upon second run of thread Pin
searcher0823-Oct-06 6:33
searcher0823-Oct-06 6:33 
GeneralRe: Assertion error upon second run of thread Pin
Blake Miller23-Oct-06 7:42
Blake Miller23-Oct-06 7:42 
GeneralRe: Assertion error upon second run of thread Pin
searcher0823-Oct-06 13:18
searcher0823-Oct-06 13:18 
I did not do anything to the object. From the MSDN, I understand there is no requirement to end the thread as long as it is completed normally. I will heed your advise and proceed with the delete of the CWinThread Object.

Is this what it is suppose to look like?

CWinThread* ThreadHD = AfxBeginThread(DecodeThreadProc,pfilename,THREAD_PRIORITY_NORMAL,0,0,NULL);


delete(ThreadHD);
ThreadHD=NULL;

Many thanks for your advise. Greatly appreciated!
GeneralRe: Assertion error upon second run of thread Pin
Blake Miller24-Oct-06 2:36
Blake Miller24-Oct-06 2:36 
GeneralRe: Assertion error upon second run of thread Pin
searcher0824-Oct-06 13:11
searcher0824-Oct-06 13:11 
GeneralRe: Assertion error upon second run of thread Pin
Blake Miller25-Oct-06 3:55
Blake Miller25-Oct-06 3:55 
QuestionUSB Specific Programming Pin
legit22-Oct-06 14:43
legit22-Oct-06 14:43 
AnswerRe: USB Specific Programming Pin
Cedric Moonen22-Oct-06 20:24
Cedric Moonen22-Oct-06 20:24 
GeneralRe: USB Specific Programming Pin
legit23-Oct-06 5:03
legit23-Oct-06 5:03 
Questionresource hiding Pin
Lord_Vader22-Oct-06 11:30
Lord_Vader22-Oct-06 11:30 
AnswerRe: resource hiding Pin
Ali Mojtabaee22-Oct-06 12:28
Ali Mojtabaee22-Oct-06 12:28 
GeneralRe: resource hiding Pin
jhwurmbach23-Oct-06 0:57
jhwurmbach23-Oct-06 0:57 
QuestionDatabase application design Pin
Francesco Aruta22-Oct-06 11:08
Francesco Aruta22-Oct-06 11:08 
QuestionCString.Format - new line? Pin
Oliver12322-Oct-06 11:00
Oliver12322-Oct-06 11:00 
AnswerRe: CString.Format - new line? Pin
Le Thanh Cong22-Oct-06 17:37
Le Thanh Cong22-Oct-06 17:37 
AnswerRe: CString.Format - new line? Pin
David Crow23-Oct-06 4:13
David Crow23-Oct-06 4:13 
GeneralRe: CString.Format - new line? Pin
Oliver12323-Oct-06 10:45
Oliver12323-Oct-06 10:45 
GeneralRe: CString.Format - new line? Pin
David Crow24-Oct-06 3:08
David Crow24-Oct-06 3:08 
GeneralRe: CString.Format - new line? Pin
Oliver12325-Oct-06 10:01
Oliver12325-Oct-06 10:01 
QuestionSendMessage/PostMessage Pin
sawerr22-Oct-06 10:49
sawerr22-Oct-06 10:49 

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.