Click here to Skip to main content
15,797,193 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Query regarding ListBox Pin
Rajesh R Subramanian14-Apr-08 3:46
professionalRajesh R Subramanian14-Apr-08 3:46 
GeneralRe: Query regarding ListBox Pin
Hamid_RT15-Apr-08 3:24
Hamid_RT15-Apr-08 3:24 
GeneralC++ new dynamic allocation of memory problem Pin
Member 336349814-Apr-08 3:28
Member 336349814-Apr-08 3:28 
GeneralRe: C++ new dynamic allocation of memory problem Pin
Cedric Moonen14-Apr-08 3:31
Cedric Moonen14-Apr-08 3:31 
GeneralRe: C++ new dynamic allocation of memory problem Pin
Member 336349814-Apr-08 3:39
Member 336349814-Apr-08 3:39 
GeneralRe: C++ new dynamic allocation of memory problem [modified] Pin
JudyL_MD14-Apr-08 5:18
JudyL_MD14-Apr-08 5:18 
GeneralRe: C++ new dynamic allocation of memory problem Pin
Matthew Faithfull14-Apr-08 3:57
Matthew Faithfull14-Apr-08 3:57 
AnswerRe: C++ new dynamic allocation of memory problem Pin
James R. Twine14-Apr-08 4:03
James R. Twine14-Apr-08 4:03 
   I believe that applications need to be flagged to indicate that they are able to handle a memory address space larger than 2GB.  In VC++6.0 there was the /LARGEADDRESSWARE linker switch.

   Remember that allocation of memory requires two things: (1) you need available free memory that can be allocated, and (2) you need enough contiguous addresses in your application's address space to access that memory through.

   When you start heading beyond 2GB, you may need to be starting the OS with special flags (/3GB in the boot.ini file) which forces it to only reserve 1GB of address space instead of 2GB.

   You should Google for things like the switch I mentioned above "AWE", and the "/3GB" switch for more information.  Also, look into the VirtualAlloc(...) and related functions for handling large amounts of memory.

   Peace!

-=- James
Please rate this message - let me know if I helped or not!<hr></hr>If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
See DeleteFXPFiles



GeneralRe: C++ new dynamic allocation of memory problem Pin
Joe Woodbury14-Apr-08 7:57
professionalJoe Woodbury14-Apr-08 7:57 
GeneralRe: C++ new dynamic allocation of memory problem Pin
Stephen Hewitt14-Apr-08 16:27
Stephen Hewitt14-Apr-08 16:27 
QuestionSerial communication Pin
FPeeters14-Apr-08 2:05
FPeeters14-Apr-08 2:05 
GeneralRe: Serial communication Pin
Cedric Moonen14-Apr-08 2:16
Cedric Moonen14-Apr-08 2:16 
GeneralRe: Serial communication Pin
FPeeters14-Apr-08 2:38
FPeeters14-Apr-08 2:38 
QuestionRe: Serial communication Pin
CPallini14-Apr-08 3:11
mveCPallini14-Apr-08 3:11 
GeneralRe: Serial communication Pin
FPeeters14-Apr-08 3:18
FPeeters14-Apr-08 3:18 
GeneralRe: Serial communication Pin
Cedric Moonen14-Apr-08 3:22
Cedric Moonen14-Apr-08 3:22 
GeneralRe: Serial communication Pin
FPeeters14-Apr-08 3:33
FPeeters14-Apr-08 3:33 
GeneralRe: Serial communication Pin
FPeeters14-Apr-08 5:19
FPeeters14-Apr-08 5:19 
GeneralRe: Serial communication Pin
CPallini14-Apr-08 4:04
mveCPallini14-Apr-08 4:04 
GeneralRe: Serial communication Pin
FPeeters14-Apr-08 4:36
FPeeters14-Apr-08 4:36 
QuestionRe: Serial communication Pin
CPallini14-Apr-08 5:45
mveCPallini14-Apr-08 5:45 
GeneralRe: Serial communication Pin
Randor 14-Apr-08 6:28
professional Randor 14-Apr-08 6:28 
GeneralRe: Serial communication Pin
CPallini14-Apr-08 6:48
mveCPallini14-Apr-08 6:48 
GeneralRe: Serial communication Pin
FPeeters14-Apr-08 20:56
FPeeters14-Apr-08 20:56 
GeneralRe: Serial communication Pin
CPallini14-Apr-08 22:11
mveCPallini14-Apr-08 22:11 

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.