Click here to Skip to main content
15,896,063 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Hello!Dialog! Pin
Prakash Nadar5-Jan-04 16:13
Prakash Nadar5-Jan-04 16:13 
GeneralCreating Evaluation copy Pin
Abhi Lahare5-Jan-04 2:00
Abhi Lahare5-Jan-04 2:00 
GeneralRe: Creating Evaluation copy Pin
jhwurmbach5-Jan-04 2:12
jhwurmbach5-Jan-04 2:12 
GeneralRe: Creating Evaluation copy Pin
David Crow5-Jan-04 7:36
David Crow5-Jan-04 7:36 
GeneralRe: Creating Evaluation copy Pin
Abhi Lahare5-Jan-04 17:17
Abhi Lahare5-Jan-04 17:17 
GeneralRe: Creating Evaluation copy Pin
jhwurmbach5-Jan-04 22:13
jhwurmbach5-Jan-04 22:13 
GeneralWhy a pointer has no relavence outside the process Pin
Omar Alvi5-Jan-04 1:43
Omar Alvi5-Jan-04 1:43 
GeneralRe: Why a pointer has no relavence outside the process Pin
Duncan Edwards Jones5-Jan-04 1:55
professionalDuncan Edwards Jones5-Jan-04 1:55 
You can use the analogy of a memory address being a phone number - where each process is equivalent to an area code.
If you call a number from the same area code you will get the person you expect. If you use a pointer withing your process you will get the data you expect...but if you use a phone number from a different area code you will get a wrong number and if you use a pointer from a different process you will get a wrong address which usually results in a program crash.

If you want to access another process' memory use the API call ReadProcessmemory which is equivalent (in the above tortured analogy) to adding the area code to the phone number.

'--8<------------------------
Ex Datis:
Duncan Jones
Merrion Computing Ltd
GeneralRe: Why a pointer has no relavence outside the process Pin
Iain Clarke, Warrior Programmer5-Jan-04 6:23
Iain Clarke, Warrior Programmer5-Jan-04 6:23 
GeneralRe: Why a pointer has no relavence outside the process Pin
David Crow5-Jan-04 7:39
David Crow5-Jan-04 7:39 
GeneralRe: Why a pointer has no relavence outside the process Pin
Iain Clarke, Warrior Programmer5-Jan-04 22:27
Iain Clarke, Warrior Programmer5-Jan-04 22:27 
GeneralShell extension and iwebbrowser2 Pin
Felix Gartsman5-Jan-04 1:43
Felix Gartsman5-Jan-04 1:43 
GeneralRe: Shell extension and iwebbrowser2 Pin
Iain Clarke, Warrior Programmer5-Jan-04 6:35
Iain Clarke, Warrior Programmer5-Jan-04 6:35 
GeneralRe: Shell extension and iwebbrowser2 Pin
Felix Gartsman5-Jan-04 7:26
Felix Gartsman5-Jan-04 7:26 
GeneralDlls Regarding Pin
Shenthil5-Jan-04 1:18
Shenthil5-Jan-04 1:18 
GeneralRe: Dlls Regarding Pin
valikac5-Jan-04 4:45
valikac5-Jan-04 4:45 
GeneralRe: Dlls Regarding Pin
Jörgen Sigvardsson5-Jan-04 9:55
Jörgen Sigvardsson5-Jan-04 9:55 
GeneralStupid Question Pin
TolTol5-Jan-04 1:10
TolTol5-Jan-04 1:10 
GeneralRe: Stupid Question Pin
Shenthil5-Jan-04 1:20
Shenthil5-Jan-04 1:20 
GeneralRe: Stupid Question Pin
TolTol5-Jan-04 4:09
TolTol5-Jan-04 4:09 
GeneralRe: Stupid Question Pin
Prakash Nadar5-Jan-04 5:05
Prakash Nadar5-Jan-04 5:05 
GeneralRe: Stupid Question Pin
TolTol5-Jan-04 5:53
TolTol5-Jan-04 5:53 
GeneralRe: Stupid Question Pin
Iain Clarke, Warrior Programmer5-Jan-04 6:39
Iain Clarke, Warrior Programmer5-Jan-04 6:39 
GeneralRe: Stupid Question Pin
Prakash Nadar5-Jan-04 12:10
Prakash Nadar5-Jan-04 12:10 
GeneralRe: Stupid Question Pin
Michael P Butler5-Jan-04 7:21
Michael P Butler5-Jan-04 7:21 

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.