My question isn't about your program, but correlates very closesly.
I'm trying to read a memory location using the API call ReadProcessMemory. However I get an access violation error and crashes my application and my vb6 development enviroment. I can understand some what on why I might be getting this. My conclusion is because the game is running and it has locked out any access to it for what ever reason. Although that doesn't hold water, because your program can read the memory location just fine.
Any thoughts on how to get around this?
Regards