I have played with memory (don't worry, it's mine ;)
And i have figured out that i do not know what there is going on ;)
If i start Turbo Pascal (7.0) Under Win95 and uses Pascals predefined
MEM array then i can Write to _ANY_ place in memory i want
without creating any form a a access violation!!
But when i use Delphi and try to make a variable ABSOLUTE then the compiler
will only let me use it like this :
VAR
SOME_VAR : Byte; ABSOLUTE : $LOCATION..LOCATION2!!
Can anybody tell me what the .... there is going on ??
The Delphi Online-Help says that ABSOLUTE Can be used In to forms, but
neither of the forms is like what i just typed.
What system does windows use for adressing memory??
Is it like $NUMBER_OF_BYTE_IN_MEMORY ?? ;)
In the good old days is whas like $SEGMENT:OFFSET Right ??
"And you may guess... NOW ;)"
--- Terminate 4.00
---------------
* Origin: (2:238/52.112)
|