Click here to Skip to main content
15,914,452 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Write to console Pin
David Crow20-Oct-08 7:31
David Crow20-Oct-08 7:31 
AnswerRe: Write to console Pin
rrrado20-Oct-08 22:29
rrrado20-Oct-08 22:29 
GeneralRe: Write to console Pin
David Crow21-Oct-08 3:01
David Crow21-Oct-08 3:01 
GeneralRe: Write to console Pin
rrrado21-Oct-08 4:19
rrrado21-Oct-08 4:19 
QuestionAllocate more than 2GB using VirtualAlloc or new Pin
umarcool20-Oct-08 5:39
umarcool20-Oct-08 5:39 
AnswerRe: Allocate more than 2GB using VirtualAlloc or new Pin
David Crow20-Oct-08 7:32
David Crow20-Oct-08 7:32 
AnswerRe: Allocate more than 2GB using VirtualAlloc or new Pin
Cedric Moonen20-Oct-08 8:35
Cedric Moonen20-Oct-08 8:35 
GeneralRe: Allocate more than 2GB using VirtualAlloc or new Pin
umarcool21-Oct-08 0:17
umarcool21-Oct-08 0:17 
Yes i have increased the virtual memory to 15 GB now but this still does not work Confused | :confused:

I am trying using the code given below:


BYTE* m_pDIB = (BYTE *)VirtualAlloc(NULL, (size_t)0x81000000/*(size_t)1.7*1024*1024*1024*/, MEM_COMMIT | MEM_RESERVE | MEM_TOP_DOWN, PAGE_READWRITE);
   UINT32 ui32Err = GetLastError();
   printf("\nVirtualAlloc(NULL, (size_t)0x81000000, MEM_COMMIT | MEM_RESERVE, PAGE_READWRITE); Results: Address is %Xh and error is %d", m_pDIB, ui32Err);

   m_pDIB = (BYTE *)VirtualAlloc((LPVOID)0x81000011, 0x100, MEM_COMMIT | MEM_RESERVE | MEM_TOP_DOWN, PAGE_READWRITE);
   ui32Err = GetLastError();
   printf("\nVirtualAlloc(LPVOID(0x81000000), 0x1000, MEM_COMMIT | MEM_RESERVE | MEM_TOP_DOWN, PAGE_READWRITE); Results: Address is %Xh and error is %d", m_pDIB, ui32Err);

QuestionRegarding Auto Logon Pin
H4u3220-Oct-08 5:12
H4u3220-Oct-08 5:12 
AnswerRe: Regarding Auto Logon Pin
David Crow20-Oct-08 7:35
David Crow20-Oct-08 7:35 
QuestionHow to use a smoothing algorithm Pin
Abhijit D. Babar20-Oct-08 4:50
Abhijit D. Babar20-Oct-08 4:50 
AnswerRe: How to use a smoothing algorithm Pin
Matthew Faithfull20-Oct-08 5:16
Matthew Faithfull20-Oct-08 5:16 
Questionshortcut key create in mfc Pin
mathy20-Oct-08 4:10
mathy20-Oct-08 4:10 
AnswerRe: shortcut key create in mfc Pin
Alan Balkany20-Oct-08 4:24
Alan Balkany20-Oct-08 4:24 
GeneralRe: shortcut key create in mfc Pin
mathy20-Oct-08 23:41
mathy20-Oct-08 23:41 
GeneralRe: shortcut key create in mfc Pin
David Crow20-Oct-08 4:28
David Crow20-Oct-08 4:28 
QuestionCTreeCtrl Problem Pin
Dhiraj kumar Saini20-Oct-08 3:35
Dhiraj kumar Saini20-Oct-08 3:35 
AnswerRe: CTreeCtrl Problem Pin
SandipG 20-Oct-08 3:44
SandipG 20-Oct-08 3:44 
QuestionAsynchronous echo server Pin
gamzi20-Oct-08 3:15
gamzi20-Oct-08 3:15 
AnswerRe: Asynchronous echo server Pin
SandipG 20-Oct-08 3:34
SandipG 20-Oct-08 3:34 
QuestionRe: Asynchronous echo server [modified] Pin
gamzi20-Oct-08 4:06
gamzi20-Oct-08 4:06 
NewsRe: Asynchronous echo server Pin
Rajesh R Subramanian20-Oct-08 4:55
professionalRajesh R Subramanian20-Oct-08 4:55 
AnswerRe: Asynchronous echo server Pin
Moak20-Oct-08 7:10
Moak20-Oct-08 7:10 
QuestionRe: Asynchronous echo server Pin
gamzi21-Oct-08 23:44
gamzi21-Oct-08 23:44 
QuestionRe: Asynchronous echo server Pin
gamzi22-Oct-08 16:31
gamzi22-Oct-08 16:31 

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.