Click here to Skip to main content
15,903,012 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Lowest Level of Graphics on Windows Pin
Albert Holguin27-Feb-13 6:44
professionalAlbert Holguin27-Feb-13 6:44 
GeneralRe: Lowest Level of Graphics on Windows Pin
Captain Price27-Feb-13 17:21
professionalCaptain Price27-Feb-13 17:21 
GeneralRe: Lowest Level of Graphics on Windows Pin
Orjan Westin28-Feb-13 3:28
professionalOrjan Westin28-Feb-13 3:28 
AnswerRe: Lowest Level of Graphics on Windows Pin
Shaheed Legion27-Feb-13 5:38
Shaheed Legion27-Feb-13 5:38 
QuestionReading Compressed AVI Video file Pin
ashwath197925-Feb-13 19:48
ashwath197925-Feb-13 19:48 
AnswerRe: Reading Compressed AVI Video file Pin
_Flaviu25-Feb-13 20:42
_Flaviu25-Feb-13 20:42 
GeneralRe: Reading Compressed AVI Video file Pin
ashwath197926-Feb-13 1:26
ashwath197926-Feb-13 1:26 
AnswerRe: Reading Compressed AVI Video file Pin
Shaheed Legion26-Feb-13 5:02
Shaheed Legion26-Feb-13 5:02 
GeneralRe: Reading Compressed AVI Video file Pin
ashwath197926-Feb-13 21:56
ashwath197926-Feb-13 21:56 
AnswerRe: Reading Compressed AVI Video file Pin
Shaheed Legion26-Feb-13 23:50
Shaheed Legion26-Feb-13 23:50 
GeneralRe: Reading Compressed AVI Video file Pin
ashwath197927-Feb-13 2:07
ashwath197927-Feb-13 2:07 
GeneralRe: Reading Compressed AVI Video file Pin
ashwath197927-Feb-13 20:04
ashwath197927-Feb-13 20:04 
AnswerRe: Reading Compressed AVI Video file Pin
Shaheed Legion27-Feb-13 23:02
Shaheed Legion27-Feb-13 23:02 
GeneralRe: Reading Compressed AVI Video file Pin
ashwath19791-Mar-13 1:28
ashwath19791-Mar-13 1:28 
AnswerRe: Reading Compressed AVI Video file Pin
Shaheed Legion27-Mar-13 0:40
Shaheed Legion27-Mar-13 0:40 
QuestionInitInstance() Problem Pin
Anu_Bala25-Feb-13 19:19
Anu_Bala25-Feb-13 19:19 
AnswerRe: InitInstance() Problem Pin
Richard MacCutchan25-Feb-13 21:52
mveRichard MacCutchan25-Feb-13 21:52 
AnswerRe: InitInstance() Problem Pin
Shaheed Legion26-Feb-13 5:44
Shaheed Legion26-Feb-13 5:44 
AnswerRe: InitInstance() Problem Pin
«_Superman_»26-Feb-13 15:20
professional«_Superman_»26-Feb-13 15:20 
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 
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?

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.