Click here to Skip to main content
15,880,956 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: RegQueryValueEx returns value 6 Pin
CPallini11-May-09 23:58
mveCPallini11-May-09 23:58 
AnswerRe: RegQueryValueEx returns value 6 Pin
CPallini11-May-09 23:49
mveCPallini11-May-09 23:49 
QuestionHi Pin
Junior Artist11-May-09 22:35
Junior Artist11-May-09 22:35 
AnswerRe: Hi Pin
Chandrasekharan P11-May-09 22:37
Chandrasekharan P11-May-09 22:37 
AnswerRe: Hi Pin
CPallini11-May-09 23:46
mveCPallini11-May-09 23:46 
AnswerRe: Hi Pin
Michael Schubert12-May-09 1:31
Michael Schubert12-May-09 1:31 
GeneralRe: Hi Pin
Junior Artist13-May-09 10:31
Junior Artist13-May-09 10:31 
QuestionHow to know if LargeAddressAware is set? Pin
wilburke11-May-09 22:27
wilburke11-May-09 22:27 
On XP / Windows Server you can extend the address space from 2GB to 3GB. Two things are needed:
- you have to use the /3GB option in the boot.ini
- your program should be linked with the LARGEADDRESSAWARE option (could also be set via editbin)
I'm looking for c++ code to find out if both conditions are set.
The first condition can easily checked by looking to ullTotalVirtual from GlobalMemoryStatusEx call.
But I didn't find a way to dedect if the program uses the LARGEADDRESSAWARE option.
MSDN talks about an addressAwarenessType from 'VCLinkerTool Object':
http://msdn.microsoft.com/en-us/library/aa712546(VS.71).aspx[^]
How do I use this in a small C++ program (I'm using Visual Studio 2005)?
AnswerRe: How to know if LargeAddressAware is set? Pin
Naveen11-May-09 23:03
Naveen11-May-09 23:03 
AnswerRe: How to know if LargeAddressAware is set? Pin
Stuart Dootson11-May-09 23:55
professionalStuart Dootson11-May-09 23:55 
GeneralRe: How to know if LargeAddressAware is set? Pin
wilburke12-May-09 3:52
wilburke12-May-09 3:52 
QuestionC++ in Unix Pin
002comp11-May-09 21:40
002comp11-May-09 21:40 
AnswerRe: C++ in Unix Pin
CPallini11-May-09 22:00
mveCPallini11-May-09 22:00 
AnswerRe: C++ in Unix Pin
Stuart Dootson11-May-09 22:14
professionalStuart Dootson11-May-09 22:14 
GeneralRe: C++ in Unix Pin
002comp11-May-09 23:24
002comp11-May-09 23:24 
GeneralRe: C++ in Unix Pin
Rajesh R Subramanian11-May-09 23:31
professionalRajesh R Subramanian11-May-09 23:31 
QuestionEdit box disappears on switching tabs Pin
vishnugupta11-May-09 21:29
vishnugupta11-May-09 21:29 
QuestionCreating a PPPoE connection Pin
Krylik11-May-09 21:27
Krylik11-May-09 21:27 
AnswerRe: Creating a PPPoE connection Pin
led mike12-May-09 4:27
led mike12-May-09 4:27 
QuestionActivating Menu Options Pin
prithaa11-May-09 21:04
prithaa11-May-09 21:04 
AnswerRe: Activating Menu Options Pin
«_Superman_»11-May-09 21:21
professional«_Superman_»11-May-09 21:21 
GeneralRe: Activating Menu Options Pin
prithaa11-May-09 23:21
prithaa11-May-09 23:21 
QuestionRe: Activating Menu Options Pin
David Crow12-May-09 2:54
David Crow12-May-09 2:54 
QuestionPointers Pin
durban211-May-09 20:03
durban211-May-09 20:03 
AnswerRe: Pointers Pin
Cedric Moonen11-May-09 20:16
Cedric Moonen11-May-09 20:16 

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.