Click here to Skip to main content
15,922,309 members
Home / Discussions / C#
   

C#

 
GeneralRe: [2.0] a few read/writeprocessmemory questions Pin
Luc Pattyn6-Jul-07 4:32
sitebuilderLuc Pattyn6-Jul-07 4:32 
GeneralRe: [2.0] a few read/writeprocessmemory questions Pin
games guru6-Jul-07 4:44
games guru6-Jul-07 4:44 
GeneralRe: [2.0] a few read/writeprocessmemory questions Pin
Luc Pattyn6-Jul-07 5:05
sitebuilderLuc Pattyn6-Jul-07 5:05 
GeneralRe: [2.0] a few read/writeprocessmemory questions Pin
games guru6-Jul-07 5:28
games guru6-Jul-07 5:28 
GeneralRe: [2.0] a few read/writeprocessmemory questions Pin
games guru6-Jul-07 6:04
games guru6-Jul-07 6:04 
GeneralRe: [2.0] a few read/writeprocessmemory questions Pin
Jimmanuel6-Jul-07 6:27
Jimmanuel6-Jul-07 6:27 
GeneralRe: [2.0] a few read/writeprocessmemory questions Pin
games guru6-Jul-07 6:38
games guru6-Jul-07 6:38 
GeneralRe: [2.0] a few read/writeprocessmemory questions Pin
Jimmanuel6-Jul-07 7:04
Jimmanuel6-Jul-07 7:04 
A pointer is a variable that holds a memory address and a memory address is an integer value, nothing more, nothing less. It's a given that the pointers you're using are going to change every time that you run an application because every time it's run there's no guarantee that the OS is going to assign it the same memory region. That's just common sense.

The explanation and example you've provided involving the "address", "offset" and "address of pointer" show one of two things:
a) your idea of what a pointer is is not correct or
b) you're misusing terminology to describe the situation

Either way, the fact remains that in C#, this style of memory management is completely outdated. C# is a Garbage Collected language so that you don't have to worry about where in memory things are; if your program relies on pointer arithmetic and memory regions to get it's job done, then you've picked the wrong language to implement your design.



GeneralRe: [2.0] a few read/writeprocessmemory questions Pin
games guru6-Jul-07 7:28
games guru6-Jul-07 7:28 
GeneralRe: [2.0] a few read/writeprocessmemory questions Pin
Jimmanuel6-Jul-07 7:47
Jimmanuel6-Jul-07 7:47 
GeneralRe: [2.0] a few read/writeprocessmemory questions Pin
games guru6-Jul-07 7:50
games guru6-Jul-07 7:50 
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 
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 

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.