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

C / C++ / MFC

 
GeneralRe: UINT nFlags Pin
Neville Franks7-Feb-05 10:50
Neville Franks7-Feb-05 10:50 
GeneralRe: UINT nFlags Pin
namaskaaram7-Feb-05 19:21
namaskaaram7-Feb-05 19:21 
GeneralUsing Libaries Pin
TheCult7-Feb-05 9:45
TheCult7-Feb-05 9:45 
QuestionHow to find the size of free store Pin
Budric B.7-Feb-05 9:02
Budric B.7-Feb-05 9:02 
AnswerRe: How to find the size of free store Pin
David Crow7-Feb-05 9:53
David Crow7-Feb-05 9:53 
GeneralI had no idea it would be this complex Pin
Budric B.7-Feb-05 11:22
Budric B.7-Feb-05 11:22 
GeneralRe: I had no idea it would be this complex Pin
Ravi Bhavnani7-Feb-05 11:39
professionalRavi Bhavnani7-Feb-05 11:39 
GeneralRe: I had no idea it would be this complex Pin
Michael Dunn7-Feb-05 12:00
sitebuilderMichael Dunn7-Feb-05 12:00 
Budric B. wrote:
I thought there was some simple win32 function that I can just call to get the physical memory size.

GlobalMemoryStatus() returns that in MEMORYSTATUS::dwTotalPhys, however that doesn't tell you how much memory you can allocate. Virtual memory != physical memory. The amount depends on how much RAM you have, how much swap space is available, and what your process's current VM usage is like. Eg, if you try to allocate 1G of memory, your 2GB process space probably won't have 1G of continuous address space available, so the alloc won't work regardless of how much RAM you have.

--Mike--
LINKS~! Ericahist updated! | 1ClickPicGrabber | CP SearchBar v2.0.2 | C++ Forum FAQ
Strange things are afoot at the U+004B U+20DD

GeneralRe: I had no idea it would be this complex Pin
Budric B.8-Feb-05 3:37
Budric B.8-Feb-05 3:37 
Generalpassing Visual C++ variable to an VB Access subroutine Pin
elephantstar7-Feb-05 8:12
elephantstar7-Feb-05 8:12 
QuestionHow to crate new frame Pin
TooLeeDiN7-Feb-05 8:06
TooLeeDiN7-Feb-05 8:06 
AnswerRe: How to crate new frame Pin
Budric B.7-Feb-05 9:00
Budric B.7-Feb-05 9:00 
GeneralRe: How to crate new frame Pin
Anonymous8-Feb-05 18:36
Anonymous8-Feb-05 18:36 
AnswerRe: How to crate new frame Pin
Anonymous8-Feb-05 18:41
Anonymous8-Feb-05 18:41 
GeneralInvoke the constructor Pin
Gurra_Koo7-Feb-05 7:53
Gurra_Koo7-Feb-05 7:53 
GeneralRe: Invoke the constructor Pin
Joaquín M López Muñoz7-Feb-05 8:21
Joaquín M López Muñoz7-Feb-05 8:21 
GeneralRe: Invoke the constructor Pin
Gurra_Koo7-Feb-05 8:53
Gurra_Koo7-Feb-05 8:53 
GeneralCfileDlg Pin
elfokab7-Feb-05 5:49
elfokab7-Feb-05 5:49 
GeneralRe: CfileDlg Pin
ThatsAlok7-Feb-05 6:51
ThatsAlok7-Feb-05 6:51 
GeneralRe: CfileDlg Pin
Michael Dunn7-Feb-05 6:54
sitebuilderMichael Dunn7-Feb-05 6:54 
QuestionFonts for CTreeCtrl. What is not right now? Pin
bilas7-Feb-05 5:42
bilas7-Feb-05 5:42 
AnswerRe: Fonts for CTreeCtrl. What is not right now? Pin
Michael Dunn7-Feb-05 6:56
sitebuilderMichael Dunn7-Feb-05 6:56 
GeneralRe: Fonts for CTreeCtrl. What is not right now? Pin
bilas7-Feb-05 7:31
bilas7-Feb-05 7:31 
GeneralVS 7.1 C++ and code profiling tools [modified] Pin
Antony M Kancidrowski7-Feb-05 5:15
Antony M Kancidrowski7-Feb-05 5:15 
GeneralRe: VS 7.1 C++ and code profiling tools [modified] Pin
Neville Franks7-Feb-05 8:58
Neville Franks7-Feb-05 8:58 

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.