Click here to Skip to main content
15,895,011 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Printing Problem in XP. In real trouble Pin
Phil J Pearson30-Sep-02 1:45
Phil J Pearson30-Sep-02 1:45 
GeneralRe: Printing Problem in XP. In real trouble Pin
mijarral3-Oct-02 7:02
mijarral3-Oct-02 7:02 
GeneralOLE DB Problem Pin
Alex Deem29-Sep-02 7:47
Alex Deem29-Sep-02 7:47 
QuestionHooking to process memory - where to start? Pin
generic_user_id29-Sep-02 7:09
generic_user_id29-Sep-02 7:09 
AnswerRe: Hooking to process memory - where to start? Pin
Dave Bryant29-Sep-02 14:34
Dave Bryant29-Sep-02 14:34 
GeneralRe: Hooking to process memory - where to start? Pin
carrie29-Sep-02 21:57
carrie29-Sep-02 21:57 
GeneralRe: Hooking to process memory - where to start? Pin
generic_user_id30-Sep-02 5:49
generic_user_id30-Sep-02 5:49 
GeneralRe: Hooking to process memory - where to start? Pin
generic_user_id30-Sep-02 5:32
generic_user_id30-Sep-02 5:32 
Thanks for the suggestion, but this is what I read on MSDN

ReadProcessMemory copies the data in the specified
address range from the address space of the specified process into
the specified buffer of the current process. Any process that has a
handle with PROCESS_VM_READ access can call the function. The process
whose address space is read is typically, but not necessarily, being
debugged.

The entire area to be read must be accessible. If it is not, the
function fails as noted previously.


Regular processes don't have PROCESS_VM_READ...

I doubt windows has a simple api that allows one process to read and
modify the memory of another one. (What would be the use of Protected memory then?)

Or is there a way to make ReadProcessMemory work?

Kind regards,

Griffith


Everything you say will be misquoted, ripped out of context and used against you.
GeneralRe: Hooking to process memory - where to start? Pin
jmkhael30-Sep-02 5:43
jmkhael30-Sep-02 5:43 
GeneralRe: Hooking to process memory - where to start? Pin
carrie30-Sep-02 7:48
carrie30-Sep-02 7:48 
GeneralRe: Hooking to process memory - where to start? Pin
generic_user_id30-Sep-02 8:14
generic_user_id30-Sep-02 8:14 
GeneralXP theme... Pin
Max Santos29-Sep-02 6:39
Max Santos29-Sep-02 6:39 
GeneralCFile question Pin
ns29-Sep-02 4:41
ns29-Sep-02 4:41 
GeneralRe: CFile question Pin
Ravi Bhavnani29-Sep-02 4:45
professionalRavi Bhavnani29-Sep-02 4:45 
GeneralRe: CFile question Pin
ns29-Sep-02 4:57
ns29-Sep-02 4:57 
GeneralRe: CFile question Pin
Ravi Bhavnani29-Sep-02 5:20
professionalRavi Bhavnani29-Sep-02 5:20 
GeneralRe: CFile question Pin
Christian Graus29-Sep-02 18:37
protectorChristian Graus29-Sep-02 18:37 
Generalsimple asm from vc++ Pin
Anonymous29-Sep-02 4:19
Anonymous29-Sep-02 4:19 
GeneralRe: simple asm from vc++ Pin
Dominik Reichl29-Sep-02 5:23
Dominik Reichl29-Sep-02 5:23 
Generalstatic function Pin
Mazdak29-Sep-02 4:04
Mazdak29-Sep-02 4:04 
GeneralRe: static function Pin
Aaron Schaefer29-Sep-02 4:13
Aaron Schaefer29-Sep-02 4:13 
GeneralRe: static function Pin
Scott H. Settlemier29-Sep-02 7:03
Scott H. Settlemier29-Sep-02 7:03 
GeneralKilling Processes Pin
Dominik Reichl29-Sep-02 1:14
Dominik Reichl29-Sep-02 1:14 
GeneralRe: Killing Processes Pin
Atlence29-Sep-02 3:30
Atlence29-Sep-02 3:30 
GeneralRe: Killing Processes Pin
Dominik Reichl29-Sep-02 5:18
Dominik Reichl29-Sep-02 5:18 

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.