Click here to Skip to main content
15,885,546 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Is it ok to use uninitialized pointer? Pin
MuraliKrishnaP5-Aug-10 9:44
MuraliKrishnaP5-Aug-10 9:44 
Questionwhy const pointer is NOT const? how to solve the problem? Pin
includeh104-Aug-10 13:12
includeh104-Aug-10 13:12 
AnswerRe: why const pointer is NOT const? how to solve the problem? PinPopular
KingsGambit4-Aug-10 17:02
KingsGambit4-Aug-10 17:02 
AnswerRe: why const pointer is NOT const? how to solve the problem? Pin
Aescleal5-Aug-10 0:02
Aescleal5-Aug-10 0:02 
QuestionHow to get physical memory size available to a process? Pin
Code-o-mat4-Aug-10 11:25
Code-o-mat4-Aug-10 11:25 
QuestionRe: How to get physical memory size available to a process? Pin
norish5-Aug-10 4:38
norish5-Aug-10 4:38 
AnswerRe: How to get physical memory size available to a process? Pin
Code-o-mat5-Aug-10 4:54
Code-o-mat5-Aug-10 4:54 
GeneralRe: How to get physical memory size available to a process? Pin
norish5-Aug-10 19:48
norish5-Aug-10 19:48 
Default implementation of new of vc is malloc and malloc calls VirtualAlloc.

I checked how much memory's can be allocated on my pc with XP SP3.

Available Phys. Memory: 1.7GB (from task manager)
Available Virtual Memory: 2.0GB (from GlobalMemoryStatusEx)
My program allocated: 1.5GB (by VirtualAlloc or malloc)
My program's Total Virtual Size: 1.5GB (from task manager)

In general, total virtual memory space 2GB is sum of program own code size, some resources and other crt dll space size. So in this case, my program's size without heap should be around 500MB. (I think this strange.)
I guess some other programs (like a anti virus program or so) or some Windows settings affected to this situation.
GeneralRe: How to get physical memory size available to a process? Pin
Code-o-mat5-Aug-10 21:55
Code-o-mat5-Aug-10 21:55 
QuestionGet/Kill focus in MFC Pin
geoyar4-Aug-10 9:23
professionalgeoyar4-Aug-10 9:23 
AnswerRe: Get/Kill focus in MFC Pin
Code-o-mat4-Aug-10 11:15
Code-o-mat4-Aug-10 11:15 
GeneralRe: Get/Kill focus in MFC Pin
geoyar5-Aug-10 12:19
professionalgeoyar5-Aug-10 12:19 
GeneralRe: Get/Kill focus in MFC Pin
Code-o-mat5-Aug-10 21:52
Code-o-mat5-Aug-10 21:52 
GeneralRe: Get/Kill focus in MFC Pin
geoyar6-Aug-10 7:29
professionalgeoyar6-Aug-10 7:29 
GeneralRe: Get/Kill focus in MFC Pin
Code-o-mat6-Aug-10 8:35
Code-o-mat6-Aug-10 8:35 
GeneralRe: Get/Kill focus in MFC Pin
geoyar6-Aug-10 10:01
professionalgeoyar6-Aug-10 10:01 
GeneralRe: Get/Kill focus in MFC Pin
Code-o-mat6-Aug-10 10:06
Code-o-mat6-Aug-10 10:06 
GeneralRe: Get/Kill focus in MFC Pin
geoyar6-Aug-10 11:31
professionalgeoyar6-Aug-10 11:31 
GeneralRe: Get/Kill focus in MFC Pin
Code-o-mat6-Aug-10 11:36
Code-o-mat6-Aug-10 11:36 
GeneralRe: Get/Kill focus in MFC Pin
geoyar6-Aug-10 15:41
professionalgeoyar6-Aug-10 15:41 
GeneralRe: Get/Kill focus in MFC Pin
geoyar6-Aug-10 16:08
professionalgeoyar6-Aug-10 16:08 
GeneralRe: Get/Kill focus in MFC Pin
Code-o-mat6-Aug-10 22:40
Code-o-mat6-Aug-10 22:40 
GeneralRe: Get/Kill focus in MFC Pin
geoyar7-Aug-10 10:01
professionalgeoyar7-Aug-10 10:01 
GeneralRe: Get/Kill focus in MFC Pin
Code-o-mat7-Aug-10 10:17
Code-o-mat7-Aug-10 10:17 
QuestionPosting a lot of data messages to MFC-based GUI Pin
kirilo_l4-Aug-10 5:30
kirilo_l4-Aug-10 5:30 

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.