justinstenning / Direct3DHook

DirectX Capture and Overlays by using Direct3D API hooks
http://spazzarama.com/2011/03/14/c-screen-capture-and-overlays-for-direct3d-9-10-and-11-using-api-hooks
MIT License
582 stars 176 forks source link

STATUS_NO_MEMORY: Unable to allocate memory in target process. (Code: 5) #48

Open ToxaDev opened 7 years ago

ToxaDev commented 7 years ago

I try to inject into 64 bit game, but have this exception.

STATUS_NO_MEMORY: Unable to allocate memory in target process. (Code: 5)

justinstenning commented 7 years ago

Code 5 means Access Denied. Could be that there is something preventing you from having the ability to allocate memory in the target process.