Click here to Skip to main content
15,885,244 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow do I find the variable causing the memory leak ? Pin
SherTeks28-Sep-08 18:25
SherTeks28-Sep-08 18:25 
AnswerRe: How do I find the variable causing the memory leak ? Pin
Naveen28-Sep-08 18:59
Naveen28-Sep-08 18:59 
QuestionA sliding container may be Pin
methhoo28-Sep-08 14:45
methhoo28-Sep-08 14:45 
AnswerRe: A sliding container may be Pin
Sarath C28-Sep-08 17:58
Sarath C28-Sep-08 17:58 
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 
I have added a dll to my project. it has all the defaults which vc wizard created. but I just added some resources (icons) to it without modifying its code.

when I load the library and do nothing with the library, and then simply free the library, and close my program, visual c reports lots of memory leaks. but when I don't load the project, no memory leakage occurs. In both cases, I don't use the library resources. I just load and unload it.

what is the problem?

to load:
hModule = LoadLibrary("Resources.dll");
ASSERT(hModule);


to unload:
FreeLibrary(hModule);


nowhere else, hModule is referenced.
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 
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 

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.