Click here to Skip to main content
15,920,031 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: mfc, vs2022 compatible? Pin
charlieg17-May-24 7:56
charlieg17-May-24 7:56 
AnswerRe: mfc, vs2022 compatible? Pin
RedDk17-May-24 9:39
RedDk17-May-24 9:39 
GeneralRe: mfc, vs2022 compatible? Pin
charlieg17-May-24 10:51
charlieg17-May-24 10:51 
GeneralRe: mfc, vs2022 compatible? Pin
RedDk17-May-24 11:11
RedDk17-May-24 11:11 
AnswerRe: mfc, vs2022 compatible? Pin
Maximilien21-May-24 5:31
Maximilien21-May-24 5:31 
GeneralRe: mfc, vs2022 compatible? Pin
charlieg21-May-24 5:51
charlieg21-May-24 5:51 
GeneralRe: mfc, vs2022 compatible? Pin
Maximilien21-May-24 8:02
Maximilien21-May-24 8:02 
GeneralRe: mfc, vs2022 compatible? Pin
charlieg21-May-24 8:03
charlieg21-May-24 8:03 
QuestionC++ language updates / old C++ code Pin
HobbyProggy14-May-24 20:12
professionalHobbyProggy14-May-24 20:12 
AnswerRe: C++ language updates / old C++ code Pin
CPallini15-May-24 1:48
mveCPallini15-May-24 1:48 
GeneralRe: C++ language updates / old C++ code Pin
HobbyProggy15-May-24 20:30
professionalHobbyProggy15-May-24 20:30 
GeneralRe: C++ language updates / old C++ code Pin
CPallini20-May-24 20:07
mveCPallini20-May-24 20:07 
AnswerRe: C++ language updates / old C++ code Pin
Maximilien15-May-24 2:03
Maximilien15-May-24 2:03 
GeneralRe: C++ language updates / old C++ code Pin
HobbyProggy15-May-24 20:37
professionalHobbyProggy15-May-24 20:37 
GeneralRe: C++ language updates / old C++ code Pin
k505415-May-24 5:38
mvek505415-May-24 5:38 
GeneralRe: C++ language updates / old C++ code Pin
HobbyProggy15-May-24 20:35
professionalHobbyProggy15-May-24 20:35 
AnswerRe: C++ language updates / old C++ code Pin
jschell15-May-24 14:29
jschell15-May-24 14:29 
GeneralRe: C++ language updates / old C++ code Pin
HobbyProggy15-May-24 20:41
professionalHobbyProggy15-May-24 20:41 
GeneralRe: C++ language updates / old C++ code Pin
jschell16-May-24 12:10
jschell16-May-24 12:10 
QuestionCan this be the cause of a memory leak Pin
Calin Negru9-May-24 2:50
Calin Negru9-May-24 2:50 
AnswerRe: Will this generate a memory leak Pin
Victor Nijegorodov9-May-24 3:05
Victor Nijegorodov9-May-24 3:05 
GeneralRe: Will this generate a memory leak Pin
Calin Negru9-May-24 3:37
Calin Negru9-May-24 3:37 
GeneralRe: Will this generate a memory leak Pin
k50549-May-24 4:32
mvek50549-May-24 4:32 
GeneralRe: Will this generate a memory leak Pin
Calin Negru9-May-24 4:49
Calin Negru9-May-24 4:49 
GeneralRe: Will this generate a memory leak Pin
k50549-May-24 5:51
mvek50549-May-24 5:51 
If by "not causing problems elsewhere" you mean it's not affecting other processes, that's mostly true. You can, of course, run into an Out Of Memory (OOM) situation, where all the RAM and swap is marked as "in use", and Bad Things start happening. Assuming you've got a 64 bit OS with lots of RAM and swap configured, (heck, even a 32 bit OS with good Virtual Memory), that's only likely to happen if you've got a lot of memory allocated.

As a rule of thumb, you should clean up memory when it's no longer needed. Think of it like craftsmanship. A piece of Faberge jewelry shows attention to detail from both the back and the front. Freeing up unused memory is part of the attention to detail, just like closing files after use, for example.
"A little song, a little dance, a little seltzer down your pants"
Chuckles the clown

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.