Click here to Skip to main content
16,008,075 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to move from one field to another by ENTER KEY Pin
mikobi22-Dec-05 19:23
mikobi22-Dec-05 19:23 
GeneralRe: How to move from one field to another by ENTER KEY Pin
Sheng Jiang 蒋晟22-Dec-05 21:04
Sheng Jiang 蒋晟22-Dec-05 21:04 
GeneralRe: How to move from one field to another by ENTER KEY Pin
Owner drawn22-Dec-05 21:18
Owner drawn22-Dec-05 21:18 
GeneralRe: How to move from one field to another by ENTER KEY Pin
Owner drawn22-Dec-05 21:30
Owner drawn22-Dec-05 21:30 
GeneralRe: How to move from one field to another by ENTER KEY Pin
mikobi22-Dec-05 21:49
mikobi22-Dec-05 21:49 
GeneralRe: How to move from one field to another by ENTER KEY Pin
Owner drawn22-Dec-05 22:00
Owner drawn22-Dec-05 22:00 
QuestionVS.Net 2005 and STL Pin
Steve Thresher22-Dec-05 3:55
Steve Thresher22-Dec-05 3:55 
QuestionHelp with VirtualProtectEx() Pin
simkincoder22-Dec-05 3:37
simkincoder22-Dec-05 3:37 
I need to set some pages to PAGE_GUARD using the function

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/memory/base/virtualprotectex.asp
BOOL VirtualProtectEx(
HANDLE hProcess,
LPVOID lpAddress,
SIZE_T dwSize,
DWORD flNewProtect,
PDWORD lpflOldProtect
);
but Im always getting an :
ERROR_INVALID_PARAMETER
87 The parameter is incorrect.

This only happens when I use PAGE_GUARD and msdn says nothing special
about this. I have seen an article in creating page guards but anything
about setting PAGE_GUARD in an existing page. so.. is this is an undocumented limitation or something?. I really need to use PAGE_GUARD because PAGE_NOACCESS or PAGE_READONLY remains after exceptions.

If is a limitation i wonder if its possible to make a driver that set the flag of a page to PAGE_GUARD.

If someone knows another approach to memory monitoring please tell me

sorry for my english


AnswerRe: Help with VirtualProtectEx() Pin
Blake Miller22-Dec-05 5:37
Blake Miller22-Dec-05 5:37 
GeneralRe: Help with VirtualProtectEx() Pin
simkincoder22-Dec-05 16:10
simkincoder22-Dec-05 16:10 
GeneralRe: Help with VirtualProtectEx() Pin
Blake Miller23-Dec-05 5:17
Blake Miller23-Dec-05 5:17 
QuestionI need help on a VC++ 2005 express problem! Pin
Mr.Indestructible22-Dec-05 3:26
Mr.Indestructible22-Dec-05 3:26 
AnswerRe: I need help on a VC++ 2005 express problem! Pin
Klerik8222-Dec-05 8:17
Klerik8222-Dec-05 8:17 
GeneralRe: I need help on a VC++ 2005 express problem! Pin
Mr.Indestructible1-Jan-06 5:32
Mr.Indestructible1-Jan-06 5:32 
QuestionDialog in a DLL Pin
Ger Hayden22-Dec-05 2:45
Ger Hayden22-Dec-05 2:45 
AnswerRe: Dialog in a DLL Pin
Miles Davies22-Dec-05 3:08
Miles Davies22-Dec-05 3:08 
QuestionWrinting as xml Pin
FarPointer22-Dec-05 1:55
FarPointer22-Dec-05 1:55 
AnswerRe: Writing xml Pin
Sebastian Schneider22-Dec-05 2:18
Sebastian Schneider22-Dec-05 2:18 
AnswerRe: Wrinting as xml Pin
ThatsAlok22-Dec-05 2:20
ThatsAlok22-Dec-05 2:20 
QuestionLinker problem Pin
ThatsAlok22-Dec-05 1:44
ThatsAlok22-Dec-05 1:44 
AnswerRe: Linker problem Pin
toxcct22-Dec-05 2:18
toxcct22-Dec-05 2:18 
GeneralRe: Linker problem Pin
ThatsAlok22-Dec-05 2:22
ThatsAlok22-Dec-05 2:22 
GeneralRe: Linker problem Pin
David Crow22-Dec-05 2:38
David Crow22-Dec-05 2:38 
GeneralRe: Linker problem Pin
ThatsAlok22-Dec-05 2:40
ThatsAlok22-Dec-05 2:40 
GeneralRe: Linker problem Pin
toxcct22-Dec-05 2:40
toxcct22-Dec-05 2:40 

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.