Hmm The problem seems to be that even thought you used readprocessmemory, you are still getting an access violation. I've never actually gotten the read and write process memory functions to work thought. I'm quite intrigued by this though. I'll play around and see what happens
I fixed it. I deleted the buffer after the while loop and it doesn't give me that error. But now it doesn't find any addresses with the value of 10.
I keep running into new problems.
It's not DMA.
Starting the search at 0x0000 doesn't work. I have to find the base address I think. Not sure if there's any function for that but if there is, let me know. Thanks.
If anyone would be kind enough to guide me through this little memory scan project of mine, PM me.
Thank you.
Hmmmm.... I wish BA was here. I'm not familiar with the Windows API. =/
If it wasn't for errors, there'd be no one to correct you and tell you where you went wrong. :P Just saying, LOL. Can't be any help since I'm starting C++. >.>
Does it really matter if i started scanning at an address that has no memory? Or does it affect the scan in some way? Cause right now, I have no idea what to do. I'm completely stuck.
Who's BA?
Is he some sort of programming God?
I love you.
I was right, programming God for sure.
Thanks so much. Although i'm almost 100% sure I will run into another problem concerning this topic.
Quick question, is it comparing each single byte to 10? If so, how do I compare 4 bytes to 10?
Sorry, noob question.
BA You are absolutely awesome =).
He is indeed, but like I said, I was almost 100% sure I would run into another problem, and I did.
I scanned using cheat engine and found about 400 addresses and when I used this method i got over 1600.
Was there a reason you changed byte to dword? I have no idea if this even affects the scan at all. But I don't think i'm getting the results i'm looking for with this scanner.
Thanks.