Click here to Skip to main content
15,888,401 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CFile used together with Lined List Pin
Nishad S28-Aug-07 20:44
Nishad S28-Aug-07 20:44 
QuestionRe: CFile used together with Lined List Pin
David Crow29-Aug-07 3:21
David Crow29-Aug-07 3:21 
QuestionHow make a dll in VC++ to use in C#? Pin
Rui A Sousa28-Aug-07 16:29
Rui A Sousa28-Aug-07 16:29 
AnswerRe: How make a dll in VC++ to use in C#? Pin
Karismatic28-Aug-07 20:25
Karismatic28-Aug-07 20:25 
GeneralRe: How make a dll in VC++ to use in C#? Pin
Rui A Sousa29-Aug-07 3:33
Rui A Sousa29-Aug-07 3:33 
GeneralRe: How make a dll in VC++ to use in C#? Pin
Hamid_RT29-Aug-07 7:51
Hamid_RT29-Aug-07 7:51 
QuestionOpenFileMapping call Fails on VISTA Pin
praveenpl28-Aug-07 13:53
praveenpl28-Aug-07 13:53 
QuestionWhy ain't this in the docs? Pin
Waldermort28-Aug-07 13:24
Waldermort28-Aug-07 13:24 
I'm writing to the memory of another process using VirtualProtectEx() with the PAGE_EXECUTE_READWRITE flag set, the previous flag comes back as PAGE_READONLY. When trying to reset the protection with PAGE_READONLY or PAGE_EXECUTE_READONLY the newly created process crashes "Blah Blah Blah has stopped working"! The strange thing is, when resetting the flag, the previous comes nack as PAGE_EXECUTE_WRITECOPY.

I tried this without modifying the memory in any way, a simple set and reset crashes the process!

BUT, not resetting the protection enables the process to run. BUT modifying the memory of the process causes the page to be copied Leaving the origional app intact.

What is the point of having the WriteProcessMemory() API if windows refuses to allow us to write?
AnswerRe: Why ain't this in the docs? Pin
Naveen28-Aug-07 15:55
Naveen28-Aug-07 15:55 
GeneralRe: Why ain't this in the docs? Pin
Waldermort28-Aug-07 16:02
Waldermort28-Aug-07 16:02 
GeneralRe: Why ain't this in the docs? Pin
Naveen28-Aug-07 16:44
Naveen28-Aug-07 16:44 
GeneralRe: Why ain't this in the docs? Pin
Waldermort28-Aug-07 17:45
Waldermort28-Aug-07 17:45 
GeneralRe: Why ain't this in the docs? Pin
Naveen28-Aug-07 18:40
Naveen28-Aug-07 18:40 
GeneralRe: Why ain't this in the docs? Pin
Waldermort29-Aug-07 2:46
Waldermort29-Aug-07 2:46 
GeneralRe: Why ain't this in the docs? Pin
Naveen28-Aug-07 19:27
Naveen28-Aug-07 19:27 
GeneralRe: Why ain't this in the docs? Pin
Waldermort29-Aug-07 5:05
Waldermort29-Aug-07 5:05 
GeneralRe: Why ain't this in the docs? Pin
Waldermort28-Aug-07 16:08
Waldermort28-Aug-07 16:08 
GeneralRe: Why ain't this in the docs? Pin
Naveen28-Aug-07 16:46
Naveen28-Aug-07 16:46 
QuestionMFC Win32 Dialog application not being updated under Win-XP OS. Pin
Ralph_L28-Aug-07 12:24
Ralph_L28-Aug-07 12:24 
AnswerRe: MFC Win32 Dialog application not being updated under Win-XP OS. Pin
Mark Salsbery28-Aug-07 13:04
Mark Salsbery28-Aug-07 13:04 
QuestionRe: MFC Win32 Dialog application not being updated under Win-XP OS. Pin
David Crow29-Aug-07 3:23
David Crow29-Aug-07 3:23 
AnswerRe: MFC Win32 Dialog application not being updated under Win-XP OS. Pin
Mark Salsbery29-Aug-07 6:54
Mark Salsbery29-Aug-07 6:54 
GeneralRe: MFC Win32 Dialog application not being updated under Win-XP OS. Pin
David Crow29-Aug-07 7:09
David Crow29-Aug-07 7:09 
QuestionUsing the debugger Pin
Waldermort28-Aug-07 10:36
Waldermort28-Aug-07 10:36 
AnswerRe: Using the debugger Pin
Chris Losinger28-Aug-07 10:58
professionalChris Losinger28-Aug-07 10:58 

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.