Click here to Skip to main content
16,004,452 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Process Status Pin
Phil.Benson2-Jul-02 3:22
professionalPhil.Benson2-Jul-02 3:22 
Generaluser selects text printed by drawtext Pin
2-Jul-02 2:50
suss2-Jul-02 2:50 
GeneralRe: user selects text printed by drawtext Pin
Chris Losinger2-Jul-02 3:16
professionalChris Losinger2-Jul-02 3:16 
GeneralRe: user selects text printed by drawtext Pin
#realJSOP2-Jul-02 5:22
professional#realJSOP2-Jul-02 5:22 
QuestionHow can I make my app to use less memory Pin
Ola Carlsson2-Jul-02 2:18
Ola Carlsson2-Jul-02 2:18 
AnswerRe: How can I make my app to use less memory Pin
#realJSOP2-Jul-02 3:22
professional#realJSOP2-Jul-02 3:22 
GeneralRe: How can I make my app to use less memory Pin
Mike Nordell2-Jul-02 8:10
Mike Nordell2-Jul-02 8:10 
AnswerRe: How can I make my app to use less memory Pin
Mike Nordell2-Jul-02 6:38
Mike Nordell2-Jul-02 6:38 
Ola Carlsson wrote:
Does it matter if I use semantic
[...]

Yes. If you're using heap memory your app will have larger memory footprint.

There are a number of ways you can reduce the memory size of your executable, but they always boils down to: know what you're doing and what your compiler and runtime library is doing for you.

Do Windows use some kind of garbage collection?

Absolutely not. That's your responsibility.

Then my app has been running for a while the memory usage is lesser. Why?

There could be a number of reasons. One of them could be that you just looked at what was currently committed to RAM and not the total Working Set. When you minimize any app its working set is "trimmed" (SetProcessWorkingSetsize(-1, -1); IIRC).
QuestionHow can I read from Serial Port? Pin
2-Jul-02 1:21
suss2-Jul-02 1:21 
AnswerRe: How can I read from Serial Port? Pin
Anders Molin2-Jul-02 1:30
professionalAnders Molin2-Jul-02 1:30 
GeneralMaximizing Aplication Pin
RuiSantiago2-Jul-02 1:13
RuiSantiago2-Jul-02 1:13 
GeneralRe: Maximizing Aplication Pin
Nish Nishant2-Jul-02 1:30
sitebuilderNish Nishant2-Jul-02 1:30 
GeneralRe: Maximizing Aplication Pin
RuiSantiago2-Jul-02 1:53
RuiSantiago2-Jul-02 1:53 
GeneralRe: Maximizing Aplication Pin
Nish Nishant2-Jul-02 2:05
sitebuilderNish Nishant2-Jul-02 2:05 
GeneralRe: Maximizing Aplication Pin
RuiSantiago2-Jul-02 2:17
RuiSantiago2-Jul-02 2:17 
GeneralRe: Maximizing Aplication Pin
RuiSantiago2-Jul-02 2:22
RuiSantiago2-Jul-02 2:22 
GeneralRe: Maximizing Aplication Pin
RuiSantiago2-Jul-02 3:41
RuiSantiago2-Jul-02 3:41 
GeneralRe: Maximizing Aplication Pin
RuiSantiago2-Jul-02 4:34
RuiSantiago2-Jul-02 4:34 
GeneralHelpppppppppppppp..!!! Pin
Renjith Ramachandran1-Jul-02 23:51
Renjith Ramachandran1-Jul-02 23:51 
GeneralRe: Helpppppppppppppp..!!! Pin
Christian Graus2-Jul-02 13:06
protectorChristian Graus2-Jul-02 13:06 
GeneralRe: Helpppppppppppppp..!!! Pin
Ravi Bhavnani2-Jul-02 13:15
professionalRavi Bhavnani2-Jul-02 13:15 
GeneralRe: Helpppppppppppppp..!!! Pin
Rama Krishna Vavilala2-Jul-02 13:57
Rama Krishna Vavilala2-Jul-02 13:57 
GeneralOutlining a Bitmap... Pin
Manikandan1-Jul-02 23:50
Manikandan1-Jul-02 23:50 
GeneralRe: Outlining a Bitmap... Pin
Chris Losinger2-Jul-02 3:17
professionalChris Losinger2-Jul-02 3:17 
QuestionOne more... :) How do I add a standard button to IE? Pin
Tommy Svensson1-Jul-02 23:45
Tommy Svensson1-Jul-02 23:45 

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.