Re: Memory Access in VB.Net
The hexadecimal prefix in VB is "&H", not "0x". VB.NET doesn't support pointers though, so a memoery address won't do you much good.
Re: Memory Access in VB.Net
Re: Memory Access in VB.Net
I believe you can use the Marshal class to go in and out of managed memory if that helps any
Re: Memory Access in VB.Net
Note that the memory model in the CLR does not guarantee that a variable will stay at the same address - the GC can move things around to make a bit of space. If you have to reference a variable by address (and I suggest that you don't really) then you have to "pin" it to prevent it being moved.