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

C / C++ / MFC

 
GeneralUINT nFlags Pin
Anonymous7-Feb-05 10:19
Anonymous7-Feb-05 10:19 
GeneralRe: UINT nFlags Pin
Chris Losinger7-Feb-05 10:44
professionalChris Losinger7-Feb-05 10:44 
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 
Wow. I thought there was some simple win32 function that I can just call to get the physical memory size.

The first set of functions looks like it returns the current free-store usage? I wanted to get the limit of the free store. The second set of functions I don't even understand. Finally Win32_PhysicalMemory looks insane. You need to use COM to query some Windows Management Instrumentation (which I don't think I have because none of the MSDN sample code works - missing headers).

I did some more searching and found GlobalMemoryStatus(). This one looked very easy to use and it works on my Win2k machine so far. As long as the computer doesn't have 4G+ of memory I should be covered for now. GlobalMemoryStatusEx() would be ideal but my compiler can't find it.

Thanks for your help.
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 
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 

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.