Click here to Skip to main content
15,919,028 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralJPEG,GIF header Pin
RaajaOfSelf5-Mar-03 17:07
RaajaOfSelf5-Mar-03 17:07 
GeneralRe: JPEG,GIF header Pin
Dave Bryant5-Mar-03 17:18
Dave Bryant5-Mar-03 17:18 
QuestionSearch for Safe worker thread? Pin
chen5-Mar-03 16:05
chen5-Mar-03 16:05 
AnswerRe: Search for Safe worker thread? Pin
Hans Ruck5-Mar-03 22:37
Hans Ruck5-Mar-03 22:37 
GeneralRe: Search for Safe worker thread? Pin
chen6-Mar-03 0:49
chen6-Mar-03 0:49 
GeneralRe: Search for Safe worker thread? Pin
Hans Ruck6-Mar-03 1:00
Hans Ruck6-Mar-03 1:00 
GeneralRe: Search for Safe worker thread? Pin
chen6-Mar-03 1:12
chen6-Mar-03 1:12 
GeneralRe: Search for Safe worker thread? Pin
Hans Ruck6-Mar-03 1:47
Hans Ruck6-Mar-03 1:47 
Replace ExitThread(0) with AfxEndThread(0). Don't mix up these calls when you're using MFC.

When you're exiting the thread because of some read error or abort you have to call fclose(fp) Smile | :) . This could be your memory leak, with the greatest probability.

Use CWinThread *pThread = AfxBeginThread(CEfmraDlg::StartThreadEfmRead, this). If your program ends before the thread exits, then you must delete pThread.

rechi
GeneralRe: Search for Safe worker thread? Pin
chen6-Mar-03 2:01
chen6-Mar-03 2:01 
GeneralRe: Search for Safe worker thread? Pin
chen6-Mar-03 2:21
chen6-Mar-03 2:21 
GeneralRe: Search for Safe worker thread? Pin
Hans Ruck6-Mar-03 2:38
Hans Ruck6-Mar-03 2:38 
GeneralRe: Search for Safe worker thread? Pin
chen6-Mar-03 2:59
chen6-Mar-03 2:59 
GeneralRe: Search for Safe worker thread? Pin
Hans Ruck6-Mar-03 3:11
Hans Ruck6-Mar-03 3:11 
Generalc library Pin
ferdykdb5-Mar-03 15:47
ferdykdb5-Mar-03 15:47 
GeneralDetecting Dynamic Drives Pin
BlinkyBill5-Mar-03 15:25
BlinkyBill5-Mar-03 15:25 
GeneralRe: Detecting Dynamic Drives Pin
Brian Shifrin6-Mar-03 2:16
Brian Shifrin6-Mar-03 2:16 
GeneralRe: Detecting Dynamic Drives Pin
BlinkyBill6-Mar-03 11:22
BlinkyBill6-Mar-03 11:22 
GeneralRe: Detecting Dynamic Drives Pin
Brian Shifrin6-Mar-03 12:49
Brian Shifrin6-Mar-03 12:49 
GeneralRe: Detecting Dynamic Drives Pin
Brian Shifrin6-Mar-03 12:51
Brian Shifrin6-Mar-03 12:51 
GeneralRe: Detecting Dynamic Drives Pin
BlinkyBill6-Mar-03 13:24
BlinkyBill6-Mar-03 13:24 
GeneralWindows Explorer Folders Pin
MajinRyan5-Mar-03 15:18
MajinRyan5-Mar-03 15:18 
GeneralRe: Windows Explorer Folders Pin
Michael Dunn5-Mar-03 17:03
sitebuilderMichael Dunn5-Mar-03 17:03 
Generalchar array error Pin
act_x5-Mar-03 14:56
act_x5-Mar-03 14:56 
GeneralRe: char array error Pin
Michael Dunn5-Mar-03 15:01
sitebuilderMichael Dunn5-Mar-03 15:01 
GeneralAutomating install tasks... Pin
el davo5-Mar-03 14:50
el davo5-Mar-03 14:50 

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.