Click here to Skip to main content
15,891,204 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: A sliding container may be Pin
santhoshv8428-Sep-08 20:41
santhoshv8428-Sep-08 20:41 
Questioncompiler problem Pin
paullmcnally28-Sep-08 8:28
paullmcnally28-Sep-08 8:28 
AnswerRe: compiler problem Pin
CPallini28-Sep-08 9:49
mveCPallini28-Sep-08 9:49 
QuestionMemory leak when using a dll Pin
Ali Tavakol28-Sep-08 4:40
Ali Tavakol28-Sep-08 4:40 
QuestionRe: Memory leak when using a dll Pin
Mark Salsbery28-Sep-08 9:34
Mark Salsbery28-Sep-08 9:34 
AnswerRe: Memory leak when using a dll Pin
Joe Woodbury28-Sep-08 18:01
professionalJoe Woodbury28-Sep-08 18:01 
GeneralRe: Memory leak when using a dll Pin
Ali Tavakol28-Sep-08 19:37
Ali Tavakol28-Sep-08 19:37 
GeneralRe: Memory leak when using a dll Pin
Joe Woodbury28-Sep-08 20:04
professionalJoe Woodbury28-Sep-08 20:04 
Ali Tavakol wrote:
have you ever had the same problem?


Yes, many times with MFC and add-ons and for the same reason. When implicitly linking, this isn't a problem since the entire process space is going away. When explicitly linking, this can sometimes indicate a genuine leak. Unfortunately, there is no easy way to know.

At one point years ago, I actually figured out exactly what was happening, but my memories are a little vague now. If I remember right, the CRT cleanup progresses to the point where the detection routines can't run effectively. The process and or module effectively enters a non-deterministic state. (This issue shows up when unloading DLLs. Since DLLs could be dependent on each other, what order they load and/or unload is not guaranteed.)


Anyone who thinks he has a better idea of what's good for people than people do is a swine.
- P.J. O'Rourke


QuestionGdiplus::Font font("Fixedsys",12.f) can't draw the right font Pin
followait28-Sep-08 4:06
followait28-Sep-08 4:06 
AnswerRe: Gdiplus::Font font("Fixedsys",12.f) can't draw the right font Pin
Mark Salsbery28-Sep-08 10:35
Mark Salsbery28-Sep-08 10:35 
Questiondepends.exe Pin
George_George28-Sep-08 3:55
George_George28-Sep-08 3:55 
AnswerRe: depends.exe Pin
followait28-Sep-08 4:09
followait28-Sep-08 4:09 
GeneralRe: depends.exe Pin
George_George28-Sep-08 4:12
George_George28-Sep-08 4:12 
GeneralRe: depends.exe Pin
followait28-Sep-08 4:19
followait28-Sep-08 4:19 
GeneralRe: depends.exe Pin
George_George29-Sep-08 23:15
George_George29-Sep-08 23:15 
GeneralRe: depends.exe Pin
Dominik Reichl28-Sep-08 5:37
Dominik Reichl28-Sep-08 5:37 
GeneralRe: depends.exe Pin
George_George29-Sep-08 23:16
George_George29-Sep-08 23:16 
GeneralRe: depends.exe Pin
Iain Clarke, Warrior Programmer30-Sep-08 1:30
Iain Clarke, Warrior Programmer30-Sep-08 1:30 
GeneralRe: depends.exe Pin
George_George30-Sep-08 1:39
George_George30-Sep-08 1:39 
QuestionCreating your own skin/GUI for your application Pin
Sarriss28-Sep-08 3:39
Sarriss28-Sep-08 3:39 
AnswerRe: Creating your own skin/GUI for your application Pin
Iain Clarke, Warrior Programmer30-Sep-08 1:34
Iain Clarke, Warrior Programmer30-Sep-08 1:34 
GeneralRe: Creating your own skin/GUI for your application Pin
Sarriss30-Sep-08 1:55
Sarriss30-Sep-08 1:55 
QuestionGetProcAddress failed? Pin
George_George28-Sep-08 3:25
George_George28-Sep-08 3:25 
AnswerRe: GetProcAddress failed? Pin
Michael Dunn28-Sep-08 12:28
sitebuilderMichael Dunn28-Sep-08 12:28 
GeneralRe: GetProcAddress failed? Pin
George_George30-Sep-08 1:36
George_George30-Sep-08 1:36 

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.