Click here to Skip to main content
15,897,704 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralAllocate memory Pin
Maer7278-Nov-01 1:42
Maer7278-Nov-01 1:42 
GeneralRe: Allocate memory Pin
Tomasz Sowinski8-Nov-01 2:30
Tomasz Sowinski8-Nov-01 2:30 
GeneralRe: Allocate memory Pin
Maer7278-Nov-01 16:57
Maer7278-Nov-01 16:57 
GeneralRe: Allocate memory Pin
Nish Nishant8-Nov-01 17:01
sitebuilderNish Nishant8-Nov-01 17:01 
GeneralRe: Allocate memory Pin
Maer7278-Nov-01 17:20
Maer7278-Nov-01 17:20 
GeneralRe: Allocate memory Pin
Todd Smith8-Nov-01 7:34
Todd Smith8-Nov-01 7:34 
GeneralRe: Allocate memory Pin
Maer7278-Nov-01 17:02
Maer7278-Nov-01 17:02 
GeneralRe: Allocate memory Pin
Tim Smith8-Nov-01 7:56
Tim Smith8-Nov-01 7:56 
Man, this question is a lot harder than it sounds. The quick answer is 2GB if you don't use AWE.

GlobalMemoryStatus is a start, but there are other issues. First would be what is the total number of pages a process is allowed to allocate. Second, even if you could in theory allocate tons and tons of memory, fragmentation of the address space will limit you to the total amount of memory.

Tim Smith
Descartes Systems Sciences, Inc.
GeneralRe: Allocate memory Pin
Maer7278-Nov-01 17:06
Maer7278-Nov-01 17:06 
Generalsubitems in list control Pin
8-Nov-01 1:34
suss8-Nov-01 1:34 
GeneralRe: subitems in list control Pin
Ravi Bhavnani8-Nov-01 2:06
professionalRavi Bhavnani8-Nov-01 2:06 
GeneralRe: subitems in list control Pin
8-Nov-01 2:37
suss8-Nov-01 2:37 
GeneralSurpressing dialog keypress beeps Pin
andysolman8-Nov-01 1:03
andysolman8-Nov-01 1:03 
GeneralCRecordset params Pin
Jimmy Ehrnström8-Nov-01 0:28
Jimmy Ehrnström8-Nov-01 0:28 
GeneralRe: CRecordset params Pin
Tomasz Sowinski8-Nov-01 0:42
Tomasz Sowinski8-Nov-01 0:42 
GeneralRe: CRecordset params Pin
Jimmy Ehrnström8-Nov-01 2:52
Jimmy Ehrnström8-Nov-01 2:52 
GeneralRe: CRecordset params Pin
Tomasz Sowinski8-Nov-01 3:03
Tomasz Sowinski8-Nov-01 3:03 
GeneralRe: CRecordset params Pin
Jimmy Ehrnström8-Nov-01 3:09
Jimmy Ehrnström8-Nov-01 3:09 
GeneralRe: CRecordset params Pin
Tomasz Sowinski8-Nov-01 3:44
Tomasz Sowinski8-Nov-01 3:44 
GeneralRe: CRecordset params Pin
Carlos Antollini8-Nov-01 3:34
Carlos Antollini8-Nov-01 3:34 
GeneralSetFocus hassles Pin
Christian Graus8-Nov-01 0:12
protectorChristian Graus8-Nov-01 0:12 
GeneralRe: SetFocus hassles Pin
Tomasz Sowinski8-Nov-01 0:43
Tomasz Sowinski8-Nov-01 0:43 
GeneralRe: SetFocus hassles Pin
Christian Graus8-Nov-01 0:52
protectorChristian Graus8-Nov-01 0:52 
GeneralRe: SetFocus hassles Pin
Tomasz Sowinski8-Nov-01 0:58
Tomasz Sowinski8-Nov-01 0:58 
GeneralRe: SetFocus hassles Pin
Christian Graus8-Nov-01 1:01
protectorChristian Graus8-Nov-01 1:01 

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.