Click here to Skip to main content
15,922,155 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionGLFW Across multiple files Pin
Chris Copeland25-Aug-10 3:31
mveChris Copeland25-Aug-10 3:31 
AnswerRe: GLFW Across multiple files Pin
Chris Copeland25-Aug-10 3:34
mveChris Copeland25-Aug-10 3:34 
QuestionHelp with Standard Input Pin
Danzy8325-Aug-10 1:13
Danzy8325-Aug-10 1:13 
AnswerRe: Help with Standard Input Pin
CPallini25-Aug-10 1:36
mveCPallini25-Aug-10 1:36 
AnswerRe: Help with Standard Input Pin
carter200025-Aug-10 3:05
carter200025-Aug-10 3:05 
GeneralRe: Help with Standard Input Pin
CPallini25-Aug-10 3:23
mveCPallini25-Aug-10 3:23 
QuestionHide TilteBar CMFCToolBar window Pin
Benjamin Bruno25-Aug-10 0:42
Benjamin Bruno25-Aug-10 0:42 
AnswerRe: Hide TilteBar CMFCToolBar window Pin
Sauro Viti25-Aug-10 1:15
professionalSauro Viti25-Aug-10 1:15 
QuestionSize of SDI window in MDI applcation Pin
Anu_Bala24-Aug-10 23:13
Anu_Bala24-Aug-10 23:13 
QuestionCString Pin
raju_shiva24-Aug-10 19:23
raju_shiva24-Aug-10 19:23 
AnswerRe: CString Pin
Niklas L24-Aug-10 19:43
Niklas L24-Aug-10 19:43 
AnswerRe: CString [modified] Pin
Shivanand Gupta24-Aug-10 20:38
Shivanand Gupta24-Aug-10 20:38 
GeneralRe: CString Pin
goorley24-Aug-10 22:34
goorley24-Aug-10 22:34 
GeneralRe: CString Pin
CPallini24-Aug-10 23:28
mveCPallini24-Aug-10 23:28 
AnswerRe: CString Pin
CPallini24-Aug-10 21:18
mveCPallini24-Aug-10 21:18 
GeneralRe: CString Pin
raju_shiva24-Aug-10 21:49
raju_shiva24-Aug-10 21:49 
GeneralRe: CString Pin
CPallini24-Aug-10 21:58
mveCPallini24-Aug-10 21:58 
GeneralRe: CString Pin
raju_shiva25-Aug-10 22:20
raju_shiva25-Aug-10 22:20 
GeneralRe: CString Pin
Shivanand Gupta25-Aug-10 8:55
Shivanand Gupta25-Aug-10 8:55 
QuestionUsing DeleteVolumeMountPoint function. Pin
dipuks24-Aug-10 11:53
dipuks24-Aug-10 11:53 
AnswerRe: Using DeleteVolumeMountPoint function. Pin
Peter_in_278024-Aug-10 13:22
professionalPeter_in_278024-Aug-10 13:22 
AnswerRe: Using DeleteVolumeMountPoint function. Pin
Sauro Viti24-Aug-10 21:11
professionalSauro Viti24-Aug-10 21:11 
GeneralRe: Using DeleteVolumeMountPoint function. Pin
dipuks25-Aug-10 2:45
dipuks25-Aug-10 2:45 
QuestionTrouble with VirtualAlloc Pin
garyflet24-Aug-10 8:30
garyflet24-Aug-10 8:30 
AnswerRe: Trouble with VirtualAlloc Pin
Luc Pattyn24-Aug-10 9:24
sitebuilderLuc Pattyn24-Aug-10 9:24 
Hi,

1.
please use PRE tags when showing code snippets, as it improves readability.

2.
on 32-bit Windows, the user part of the virtual address space is limited to 2GB (per process). There is a way to extend that to 3GB, use Google to locate it. I have the impression you didn't do it, since you didn't mention it at all. On 64-bit Windows, the situation obviously is quite different.

3.
within 2GB virtual space, I'm not very surprised you get only some 1.1GB; as your own code and data is in that same 2GB space. I don't know what the default addresses for those would be; a link map should contain all such info. Have a look at the linker switches and ask for a map; then maybe look for more switches if you want to alter the virtual addresses used by code and data.

4.
I haven't used MEM_PHYSICAL yet, and haven't read up on all the doc, however I would be concerned it may also imply you are asking for contiguous physical memory (mind you, I'm not sure here). Finding such amount of contiguous memory is pretty unlikely.

5.
Maybe you should tell a bit about the overall goals; just maybe there is a better approach for what you are after.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.


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.