Click here to Skip to main content

C / C++ / MFC

 
GeneralRe: Reading Compressed AVI Video file Pinmemberashwath197927-Feb-13 21:04 
AnswerRe: Reading Compressed AVI Video file PinmemberMax_Power_Up28-Feb-13 0:02 
GeneralRe: Reading Compressed AVI Video file Pinmemberashwath19791-Mar-13 2:28 
AnswerRe: Reading Compressed AVI Video file PinmemberMax_Power_Up27-Mar-13 1:40 
QuestionInitInstance() Problem PinmemberAnu_Bala25-Feb-13 20:19 
AnswerRe: InitInstance() Problem PinmvpRichard MacCutchan25-Feb-13 22:52 
AnswerRe: InitInstance() Problem PinmemberMax_Power_Up26-Feb-13 6:44 
AnswerRe: InitInstance() Problem Pinmember«_Superman_»26-Feb-13 16:20 
QuestionRe: InitInstance() Problem PinmvpCPallini26-Feb-13 22:08 
AnswerRe: InitInstance() Problem PinmemberAlbert Holguin27-Feb-13 5:45 
QuestionHandling WinHttp Redirects Pinmemberendemoniada25-Feb-13 16:57 
SuggestionFix: Ribbon text displays inactive after migrating to VS2012 PinmemberDataFlask25-Feb-13 14:48 
QuestionRe: Fix: Ribbon text displays inactive after migrating to VS2012 PinmvpRichard MacCutchan25-Feb-13 22:49 
QuestionMemory leak Pinmembera_matseevsky25-Feb-13 10: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 PinmemberRichard Andrew x6425-Feb-13 11:11 
GeneralRe: Memory leak Pinmembera_matseevsky25-Feb-13 17:07 
GeneralRe: Memory leak PinmemberStephen Hewitt25-Feb-13 17:43 
GeneralRe: Memory leak PinmemberRichard Andrew x6426-Feb-13 10:11 
AnswerRe: Memory leak PinmemberDavidCrow25-Feb-13 14:24 
AnswerRe: Memory leak PinmemberStefan_Lang26-Feb-13 5:04 
GeneralRe: Memory leak Pinmembera_matseevsky26-Feb-13 11:59 
GeneralRe: Memory leak PinmemberStefan_Lang26-Feb-13 23:44 
GeneralRe: Memory leak Pinmembera_matseevsky27-Feb-13 3:09 
GeneralRe: Memory leak [modified] PinmemberStefan_Lang27-Feb-13 3:52 
GeneralRe: Memory leak Pinmembera_matseevsky27-Feb-13 12:44 
Question[Solved] Memory leak in producer-consumer program [modified] Pinmembernoislude25-Feb-13 8:30 
AnswerRe: Memory leak in producer-consumer program PinmemberRichard Andrew x6425-Feb-13 11:08 
GeneralRe: Memory leak in producer-consumer program Pinmembernoislude25-Feb-13 11:23 
GeneralRe: Memory leak in producer-consumer program PinmemberRichard Andrew x6425-Feb-13 11:33 
GeneralRe: Memory leak in producer-consumer program Pinmembernoislude25-Feb-13 11:42 
QuestionRe: Memory leak in producer-consumer program PinmemberDavidCrow25-Feb-13 14:28 
AnswerRe: Memory leak in producer-consumer program Pinmembernoislude25-Feb-13 14:33 
GeneralRe: Memory leak in producer-consumer program PinmemberStefan_Lang26-Feb-13 4:29 
GeneralRe: Memory leak in producer-consumer program Pinmembernoislude26-Feb-13 9:07 
GeneralRe: Memory leak in producer-consumer program PinmemberStefan_Lang26-Feb-13 23:21 
GeneralRe: Memory leak in producer-consumer program Pinmembernoislude26-Feb-13 23:27 
GeneralRe: Memory leak in producer-consumer program PinmemberStefan_Lang27-Feb-13 0:01 
SuggestionRe: Memory leak in producer-consumer program Pinmembernoislude27-Feb-13 10:47 
AnswerRe: Memory leak in producer-consumer program PinmemberVaclav_Sal25-Feb-13 18:45 
QuestionWhat is the MFC future PinmemberArris7425-Feb-13 8:06 
AnswerRe: What is the MFC future PinmemberVaclav_Sal25-Feb-13 10:46 
GeneralRe: What is the MFC future PinmemberRichard Andrew x6425-Feb-13 11:07 
AnswerRe: What is the MFC future Pingroupyu-jian25-Feb-13 22:30 
GeneralRe: What is the MFC future PinprotectorPete O'Hanlon26-Feb-13 4:30 
AnswerRe: What is the MFC future PinmemberStefan_Lang26-Feb-13 4:16 
GeneralRe: What is the MFC future Pingroupyu-jian26-Feb-13 18:44 
AnswerRe: What is the MFC future Pingroup_AnsHUMAN_ 27-Feb-13 2:42 
AnswerRe: What is the MFC future PinmemberJoe Woodbury4-Mar-13 13:00 
QuestionWere is a source of "sal.h" header file? PinmemberVaclav_Sal25-Feb-13 6:19 
AnswerRe: Were is a source of "sal.h" header file? PinmvpRichard MacCutchan25-Feb-13 6:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    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
Web03 | 2.8.150331.1 | Last Updated 1 Apr 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid