Click here to Skip to main content
15,919,879 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Stack size question Pin
Jamie Hale22-Jan-02 6:12
Jamie Hale22-Jan-02 6:12 
QuestionListControl in Outlook-style??? Pin
Grit21-Jan-02 11:04
Grit21-Jan-02 11:04 
AnswerRe: ListControl in Outlook-style??? Pin
Matt Gullett21-Jan-02 11:17
Matt Gullett21-Jan-02 11:17 
AnswerRe: ListControl in Outlook-style??? Pin
Ernest Laurentin21-Jan-02 14:41
Ernest Laurentin21-Jan-02 14:41 
GeneralDialog boxes and Documents Pin
ed121-Jan-02 10:42
ed121-Jan-02 10:42 
GeneralRe: Dialog boxes and Documents Pin
Joaquín M López Muñoz21-Jan-02 11:24
Joaquín M López Muñoz21-Jan-02 11:24 
GeneralRe: Dialog boxes and Documents Pin
Braulio Dez21-Jan-02 20:59
Braulio Dez21-Jan-02 20:59 
GeneralRe: VirtualAlloc...? Pin
Joaquín M López Muñoz21-Jan-02 11:03
Joaquín M López Muñoz21-Jan-02 11:03 
If what you're after is having commited pages with increasing contiguous addresses without imposing an a priori limit, you can always reserve the largest block of memory the system allows you to (which is 2GB minus some safeguard amount of memory for the rest of the program and libraries, say 1.8GB). After all, reserving such a huge block of memory costs nothing --the system is only doing some bookkeeping of your request.
It's better to reserve this block of memory as soon as you can, so that the memory hasn't been fragmented by then.
If you run out of memory after consuming the 1.8GB, then there's nothing more you can do: a process cannot simply handle more memory than that.

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
GeneralMFC: passing structs from one window to another Pin
User 665821-Jan-02 9:14
User 665821-Jan-02 9:14 
GeneralRe: MFC: passing structs from one window to another Pin
Joaquín M López Muñoz21-Jan-02 9:23
Joaquín M López Muñoz21-Jan-02 9:23 
GeneralRe: MFC: passing structs from one window to another Pin
User 665821-Jan-02 10:10
User 665821-Jan-02 10:10 
Generaleek, thanks to the author Pin
21-Jan-02 8:47
suss21-Jan-02 8:47 
Questionwhat does "Add an UPDATE_COMMAND_UI handler for ..." mean? Pin
DanYELL21-Jan-02 8:19
DanYELL21-Jan-02 8:19 
AnswerRe: what does "Add an UPDATE_COMMAND_UI handler for ..." mean? Pin
Joaquín M López Muñoz21-Jan-02 8:30
Joaquín M López Muñoz21-Jan-02 8:30 
General.HLP made me CRAZY ! Pin
Hadi Rezaee21-Jan-02 8:14
Hadi Rezaee21-Jan-02 8:14 
GeneralChange icon in SDI Pin
21-Jan-02 7:28
suss21-Jan-02 7:28 
GeneralRe: Change icon in SDI Pin
Joaquín M López Muñoz21-Jan-02 7:46
Joaquín M López Muñoz21-Jan-02 7:46 
GeneralOpenGL Pin
Rajveer21-Jan-02 7:11
Rajveer21-Jan-02 7:11 
QuestionSDI view that doesn't occupy the entire main frame? Pin
jonbrown21-Jan-02 7:10
jonbrown21-Jan-02 7:10 
Generalblocking mouse and keyboard hardware Pin
Kuniva21-Jan-02 6:47
Kuniva21-Jan-02 6:47 
GeneralRe: blocking mouse and keyboard hardware Pin
Jon Hulatt21-Jan-02 6:55
Jon Hulatt21-Jan-02 6:55 
QuestionCould ya'll please tell me what is wrong with this code? Pin
Ever123421-Jan-02 6:16
Ever123421-Jan-02 6:16 
AnswerRe: Could ya'll please tell me what is wrong with this code? Pin
Rick York21-Jan-02 6:23
mveRick York21-Jan-02 6:23 
AnswerRe: Could ya'll please tell me what is wrong with this code? Pin
Ravi Bhavnani21-Jan-02 6:33
professionalRavi Bhavnani21-Jan-02 6:33 
GeneralRe: Could ya'll please tell me what is wrong with this code? Pin
Ever123422-Jan-02 13:37
Ever123422-Jan-02 13:37 

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.