Click here to Skip to main content
15,928,207 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Solution Pin
Ravi Bhavnani15-Aug-05 1:54
professionalRavi Bhavnani15-Aug-05 1:54 
GeneralRe: Solution Pin
Ravi Bhavnani15-Aug-05 16:57
professionalRavi Bhavnani15-Aug-05 16:57 
GeneralTask List problem Pin
cpprules13-Aug-05 11:52
cpprules13-Aug-05 11:52 
GeneralRe: Task List problem Pin
John R. Shaw13-Aug-05 19:14
John R. Shaw13-Aug-05 19:14 
GeneralRe: Task List problem Pin
S. Senthil Kumar14-Aug-05 3:37
S. Senthil Kumar14-Aug-05 3:37 
GeneralRe: Task List problem Pin
S. Senthil Kumar14-Aug-05 3:39
S. Senthil Kumar14-Aug-05 3:39 
GeneralManaging Memory Pin
deus78913-Aug-05 11:49
deus78913-Aug-05 11:49 
GeneralRe: Managing Memory Pin
John R. Shaw13-Aug-05 19:49
John R. Shaw13-Aug-05 19:49 
You need to do some more reading: VirtualAlloc() is essentialy used to reserve (a number of virtual memory pages [range of memory]) memory for your applications use. Then you can use VirtualAlloc() to commit individual pages, without consuming physical storage until it is needed.

In other words, it does not allocate physical memory directly!

As for your app sitting in physical memory: it probably does (while running), unless it is rediculously large. The only time the whole of your program is not in physical memory is when it is to large or some other program is active and it needs the physical memory space.

INTP
"The more help VB provides VB programmers, the more miserable your life as a C++ programmer becomes."
Andrew W. Troelsen
GeneralRe: Managing Memory Pin
S. Senthil Kumar14-Aug-05 3:45
S. Senthil Kumar14-Aug-05 3:45 
GeneralCAsyncSocket Pin
xSoptik13-Aug-05 10:18
xSoptik13-Aug-05 10:18 
GeneralRe: CAsyncSocket Pin
S Douglas15-Aug-05 1:47
professionalS Douglas15-Aug-05 1:47 
GeneralWindow sizing by actual string and font Pin
xSoptik13-Aug-05 9:53
xSoptik13-Aug-05 9:53 
GeneralRe: Window sizing by actual string and font Pin
PJ Arends13-Aug-05 10:07
professionalPJ Arends13-Aug-05 10:07 
General*char problem Pin
Axonn Echysttas13-Aug-05 9:09
Axonn Echysttas13-Aug-05 9:09 
GeneralRe: *char problem Pin
PJ Arends13-Aug-05 10:04
professionalPJ Arends13-Aug-05 10:04 
GeneralRe: *char problem Pin
Axonn Echysttas13-Aug-05 10:51
Axonn Echysttas13-Aug-05 10:51 
GeneralRe: *char problem Pin
John R. Shaw13-Aug-05 20:44
John R. Shaw13-Aug-05 20:44 
GeneralRe: *char problem Pin
Axonn Echysttas14-Aug-05 19:17
Axonn Echysttas14-Aug-05 19:17 
QuestionHow to change the icon of program by Visual C++ 6.0 Pin
Victor Lin13-Aug-05 5:45
Victor Lin13-Aug-05 5:45 
AnswerRe: How to change the icon of program by Visual C++ 6.0 Pin
Achim Klein13-Aug-05 7:43
Achim Klein13-Aug-05 7:43 
AnswerRe: How to change the icon of program by Visual C++ 6.0 Pin
cpprules13-Aug-05 12:55
cpprules13-Aug-05 12:55 
QuestionWhere I make mistake in getting input boxes from html page? Pin
Alex Shapovalov13-Aug-05 4:49
professionalAlex Shapovalov13-Aug-05 4:49 
GeneralHexEncoder class to CString Pin
Member 207257813-Aug-05 4:07
Member 207257813-Aug-05 4:07 
GeneralRe: HexEncoder class to CString Pin
Jose Lamas Rios13-Aug-05 7:14
Jose Lamas Rios13-Aug-05 7:14 
GeneralRe: HexEncoder class to CString Pin
Member 207257813-Aug-05 20:24
Member 207257813-Aug-05 20:24 

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.