Click here to Skip to main content
15,887,485 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: InitInstance() Problem Pin
CPallini26-Feb-13 21:08
mveCPallini26-Feb-13 21:08 
AnswerRe: InitInstance() Problem Pin
Albert Holguin27-Feb-13 4:45
professionalAlbert Holguin27-Feb-13 4:45 
QuestionHandling WinHttp Redirects Pin
endemoniada25-Feb-13 15:57
endemoniada25-Feb-13 15:57 
SuggestionFix: Ribbon text displays inactive after migrating to VS2012 Pin
DataFlask25-Feb-13 13:48
DataFlask25-Feb-13 13:48 
QuestionRe: Fix: Ribbon text displays inactive after migrating to VS2012 Pin
Richard MacCutchan25-Feb-13 21:49
mveRichard MacCutchan25-Feb-13 21:49 
QuestionMemory leak Pin
a_matseevsky25-Feb-13 9:19
a_matseevsky25-Feb-13 9:19 
AnswerRe: Memory leak Pin
Richard Andrew x6425-Feb-13 10:11
professionalRichard Andrew x6425-Feb-13 10:11 
GeneralRe: Memory leak Pin
a_matseevsky25-Feb-13 16:07
a_matseevsky25-Feb-13 16:07 
[quote]If you're sure the memory is being taken up by those dlls, why not try unloading them yourself with
FreeLibrary()?
How are you trying to allocate the memory? Have you tried the VirtualAlloc() function?[/quote]

Yeah, I'm sure because I saw list of modules, downloaded in the address space before creation of CFileDialog and after it had been destructed. I tried to use FreeLibrary for such modules. After it (not immediately) program failed, giving me some inaudible error messages. Yeah, I used VirtualAlloc(). It is the best if you need to allocate large memory block. Currently I created a new process, which works with CFileDialog, leaving my address space untouched. It works, but I think that it is not very elegant approach. And one mysterious dll still presents- modemInst.dll (it is not connected with CFileDialog).
GeneralRe: Memory leak Pin
Stephen Hewitt25-Feb-13 16:43
Stephen Hewitt25-Feb-13 16:43 
GeneralRe: Memory leak Pin
Richard Andrew x6426-Feb-13 9:11
professionalRichard Andrew x6426-Feb-13 9:11 
AnswerRe: Memory leak Pin
David Crow25-Feb-13 13:24
David Crow25-Feb-13 13:24 
AnswerRe: Memory leak Pin
Stefan_Lang26-Feb-13 4:04
Stefan_Lang26-Feb-13 4:04 
GeneralRe: Memory leak Pin
a_matseevsky26-Feb-13 10:59
a_matseevsky26-Feb-13 10:59 
GeneralRe: Memory leak Pin
Stefan_Lang26-Feb-13 22:44
Stefan_Lang26-Feb-13 22:44 
GeneralRe: Memory leak Pin
a_matseevsky27-Feb-13 2:09
a_matseevsky27-Feb-13 2:09 
GeneralRe: Memory leak Pin
Stefan_Lang27-Feb-13 2:52
Stefan_Lang27-Feb-13 2:52 
GeneralRe: Memory leak Pin
a_matseevsky27-Feb-13 11:44
a_matseevsky27-Feb-13 11:44 
Question[Solved] Memory leak in producer-consumer program Pin
noislude25-Feb-13 7:30
noislude25-Feb-13 7:30 
AnswerRe: Memory leak in producer-consumer program Pin
Richard Andrew x6425-Feb-13 10:08
professionalRichard Andrew x6425-Feb-13 10:08 
GeneralRe: Memory leak in producer-consumer program Pin
noislude25-Feb-13 10:23
noislude25-Feb-13 10:23 
GeneralRe: Memory leak in producer-consumer program Pin
Richard Andrew x6425-Feb-13 10:33
professionalRichard Andrew x6425-Feb-13 10:33 
GeneralRe: Memory leak in producer-consumer program Pin
noislude25-Feb-13 10:42
noislude25-Feb-13 10:42 
QuestionRe: Memory leak in producer-consumer program Pin
David Crow25-Feb-13 13:28
David Crow25-Feb-13 13:28 
AnswerRe: Memory leak in producer-consumer program Pin
noislude25-Feb-13 13:33
noislude25-Feb-13 13:33 
GeneralRe: Memory leak in producer-consumer program Pin
Stefan_Lang26-Feb-13 3:29
Stefan_Lang26-Feb-13 3:29 

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.