Click here to Skip to main content
12,406,795 members (62,544 online)

C / C++ / MFC

 
AnswerRe: InitInstance() Problem Pin
Max_Power_Up26-Feb-13 5:44
memberMax_Power_Up26-Feb-13 5:44 
AnswerRe: InitInstance() Problem Pin
«_Superman_»26-Feb-13 15:20
member«_Superman_»26-Feb-13 15:20 
QuestionRe: InitInstance() Problem Pin
CPallini26-Feb-13 21:08
mvpCPallini26-Feb-13 21:08 
AnswerRe: InitInstance() Problem Pin
Albert Holguin27-Feb-13 4:45
memberAlbert Holguin27-Feb-13 4:45 
QuestionHandling WinHttp Redirects Pin
endemoniada25-Feb-13 15:57
memberendemoniada25-Feb-13 15:57 
SuggestionFix: Ribbon text displays inactive after migrating to VS2012 Pin
DataFlask25-Feb-13 13:48
memberDataFlask25-Feb-13 13:48 
QuestionRe: Fix: Ribbon text displays inactive after migrating to VS2012 Pin
Richard MacCutchan25-Feb-13 21:49
mvpRichard MacCutchan25-Feb-13 21:49 
QuestionMemory leak Pin
a_matseevsky25-Feb-13 9:19
membera_matseevsky25-Feb-13 9:19 
People, I found that CFileDialog class causes serious problem.
I had a large free memory block in the address space of my prog: 1200 MB
Then I create CFileDialog and delete it:
CFileDialog *pdlg=new CFileDialog(TRUE);
pdlg->DoModal();
delete pdlg;
I check address space again and found only 700 MB:
The reason was very simple: I found some dlls in the address space of my process like urlmon.dll, netapi.dll, modemInst.dll and so on. These dlls was loaded into my address space by CFileDialog class and was not unloaded by its destructor. As a result, I couldn't allocate memory for a large file- address space had been fragmented. Any idea how to solve this situation? I think to create CFileDialog in a separate process. May be, there are better variants?
AnswerRe: Memory leak Pin
Richard Andrew x6425-Feb-13 10:11
memberRichard Andrew x6425-Feb-13 10:11 
GeneralRe: Memory leak Pin
a_matseevsky25-Feb-13 16:07
membera_matseevsky25-Feb-13 16:07 
GeneralRe: Memory leak Pin
Stephen Hewitt25-Feb-13 16:43
memberStephen Hewitt25-Feb-13 16:43 
GeneralRe: Memory leak Pin
Richard Andrew x6426-Feb-13 9:11
memberRichard Andrew x6426-Feb-13 9:11 
AnswerRe: Memory leak Pin
DavidCrow25-Feb-13 13:24
memberDavidCrow25-Feb-13 13:24 
AnswerRe: Memory leak Pin
Stefan_Lang26-Feb-13 4:04
memberStefan_Lang26-Feb-13 4:04 
GeneralRe: Memory leak Pin
a_matseevsky26-Feb-13 10:59
membera_matseevsky26-Feb-13 10:59 
GeneralRe: Memory leak Pin
Stefan_Lang26-Feb-13 22:44
memberStefan_Lang26-Feb-13 22:44 
GeneralRe: Memory leak Pin
a_matseevsky27-Feb-13 2:09
membera_matseevsky27-Feb-13 2:09 
GeneralRe: Memory leak Pin
Stefan_Lang27-Feb-13 2:52
memberStefan_Lang27-Feb-13 2:52 
GeneralRe: Memory leak Pin
a_matseevsky27-Feb-13 11:44
membera_matseevsky27-Feb-13 11:44 
Question[Solved] Memory leak in producer-consumer program Pin
noislude25-Feb-13 7:30
membernoislude25-Feb-13 7:30 
AnswerRe: Memory leak in producer-consumer program Pin
Richard Andrew x6425-Feb-13 10:08
memberRichard Andrew x6425-Feb-13 10:08 
GeneralRe: Memory leak in producer-consumer program Pin
noislude25-Feb-13 10:23
membernoislude25-Feb-13 10:23 
GeneralRe: Memory leak in producer-consumer program Pin
Richard Andrew x6425-Feb-13 10:33
memberRichard Andrew x6425-Feb-13 10:33 
GeneralRe: Memory leak in producer-consumer program Pin
noislude25-Feb-13 10:42
membernoislude25-Feb-13 10:42 
QuestionRe: Memory leak in producer-consumer program Pin
DavidCrow25-Feb-13 13:28
memberDavidCrow25-Feb-13 13:28 

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.


Advertise | Privacy | Mobile
Web01 | 2.8.160730.1 | Last Updated 30 Jul 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid