Click here to Skip to main content
15,921,276 members
Home / Discussions / C#
   

C#

 
GeneralRe: [2.0] a few read/writeprocessmemory questions Pin
Jimmanuel6-Jul-07 8:10
Jimmanuel6-Jul-07 8:10 
GeneralRe: [2.0] a few read/writeprocessmemory questions [modified] Pin
games guru6-Jul-07 8:30
games guru6-Jul-07 8:30 
GeneralRe: [2.0] a few read/writeprocessmemory questions Pin
Jimmanuel6-Jul-07 8:40
Jimmanuel6-Jul-07 8:40 
GeneralRe: [2.0] a few read/writeprocessmemory questions Pin
games guru6-Jul-07 9:04
games guru6-Jul-07 9:04 
GeneralRe: [2.0] a few read/writeprocessmemory questions Pin
Jimmanuel6-Jul-07 9:35
Jimmanuel6-Jul-07 9:35 
GeneralRe: [2.0] a few read/writeprocessmemory questions Pin
games guru6-Jul-07 9:43
games guru6-Jul-07 9:43 
GeneralRe: [2.0] a few read/writeprocessmemory questions Pin
PhilDanger6-Jul-07 11:23
PhilDanger6-Jul-07 11:23 
GeneralRe: [2.0] a few read/writeprocessmemory questions Pin
Luc Pattyn6-Jul-07 15:55
sitebuilderLuc Pattyn6-Jul-07 15:55 
what you call a pointer is not a pointer to the majority of us.

I think most assembly languages would call your operation "offset indirect
addressing" or something of that nature. In text: take the given address, load
an address from where it points, add the offset to it, and consider that the
effective address of the operation at hand.

That is quite different from a pointer, which offers no more than one level
of indirection: take the pointer value and consider that the effective address of
the operation at hand. See for isntance here.[^], maybe not the most technical reference, but good
enough in this matter.

The pointers that exist in C, C++, C# and many other languages obey the definition
above. Whereas the former definition is implemented in most (but not all)
handles used by Windows (all with an offset of zero, hence just a double
indirection)

FYI if the offset is to be multiplied by the size of the operand (in bytes),
then it is called "indexed indirect addressing" instead of "offset indirect
addressing".

Hope this clarifies why you could not recognize all the correct answers
given to you.

Smile | :)


GeneralRe: [2.0] a few read/writeprocessmemory questions Pin
games guru6-Jul-07 16:01
games guru6-Jul-07 16:01 
GeneralRe: [2.0] a few read/writeprocessmemory questions Pin
Luc Pattyn6-Jul-07 16:38
sitebuilderLuc Pattyn6-Jul-07 16:38 
GeneralRe: [2.0] a few read/writeprocessmemory questions Pin
games guru6-Jul-07 16:46
games guru6-Jul-07 16:46 
GeneralRe: [2.0] a few read/writeprocessmemory questions Pin
Luc Pattyn6-Jul-07 17:03
sitebuilderLuc Pattyn6-Jul-07 17:03 
Questionmerge two files in a file Pin
WhiteGirl236-Jul-07 3:58
WhiteGirl236-Jul-07 3:58 
AnswerRe: merge two files in a file Pin
BoneSoft6-Jul-07 4:07
BoneSoft6-Jul-07 4:07 
AnswerRe: merge two files in a file Pin
Colin Angus Mackay6-Jul-07 4:07
Colin Angus Mackay6-Jul-07 4:07 
AnswerRe: merge two files in a file Pin
Christian Graus6-Jul-07 4:09
protectorChristian Graus6-Jul-07 4:09 
GeneralRe: merge two files in a file Pin
Martin#6-Jul-07 7:32
Martin#6-Jul-07 7:32 
GeneralRe: merge two files in a file Pin
Colin Angus Mackay6-Jul-07 9:18
Colin Angus Mackay6-Jul-07 9:18 
AnswerRe: merge two files in a file Pin
snorkie6-Jul-07 4:11
professionalsnorkie6-Jul-07 4:11 
GeneralRe: merge two files in a file Pin
Luc Pattyn6-Jul-07 4:20
sitebuilderLuc Pattyn6-Jul-07 4:20 
GeneralRe: merge two files in a file Pin
Jimmanuel6-Jul-07 4:46
Jimmanuel6-Jul-07 4:46 
JokeRe: merge two files in a file Pin
Luc Pattyn6-Jul-07 5:01
sitebuilderLuc Pattyn6-Jul-07 5:01 
JokeRe: merge two files in a file Pin
Jimmanuel6-Jul-07 5:12
Jimmanuel6-Jul-07 5:12 
AnswerRe: merge two files in a file Pin
WhiteGirl236-Jul-07 20:14
WhiteGirl236-Jul-07 20:14 
QuestionSqlDataSourceQuery.Select Pin
dboy2216-Jul-07 3:38
dboy2216-Jul-07 3:38 

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.