But_Why
Jul 3rd, 2000, 04:35 PM
Heres the deal. I have a variable which contains a memory address of a variably sized (but known size) array. The array is not named or anything.
Is it possibly to use just the address and get the array into an array of my making, so as i can get the info i require?
For example...
i have an memory location X, and a byte array,
byteArray(0-numOfBytes)
representation of memory:
blah|blah|Blah|XXXX|XXXX|XXXX|XXXX|XXXX|Blah|Blah|Blah
.....................^
I have this memory location. Each group is a byte. I want to put from the first location to numOfBytes, into a byte array.
I haven't looked too deeply into CopyMemory, although i have heard it should be able to do it.
Any ideas?
BW :cool:
PS Yeah i know this is the same as my last question but i think i have explained it better this time and might have better luck. :D:D:D:D:D
Is it possibly to use just the address and get the array into an array of my making, so as i can get the info i require?
For example...
i have an memory location X, and a byte array,
byteArray(0-numOfBytes)
representation of memory:
blah|blah|Blah|XXXX|XXXX|XXXX|XXXX|XXXX|Blah|Blah|Blah
.....................^
I have this memory location. Each group is a byte. I want to put from the first location to numOfBytes, into a byte array.
I haven't looked too deeply into CopyMemory, although i have heard it should be able to do it.
Any ideas?
BW :cool:
PS Yeah i know this is the same as my last question but i think i have explained it better this time and might have better luck. :D:D:D:D:D