Rohan Relan
Rohan Relan
Seeing a similar problem with PUBG. The inner exception is: ``` OutOfMemoryException: STATUS_NO_MEMORY: Unable to allocate memory in target process. (Code: 5) ```
I'm having the same issue. This is with Dota 2 running in DX11 mode. The overlay works but screenshotting fails with the error: ``` Debug: DXHookD3D11: PresentHook: Exeception: SharpDX.SharpDXException: SharpDX.SharpDXException:...
I changed `OptionFlags` from `ResourceOptionFlags.SharedKeyedmutex` to `ResourceOptionFlags.None`. Now it gets past that point but as you said it fails later. The new error is: ``` Debug: DXHookD3D11: PresentHook: Exeception: SharpDX.SharpDXException:...
As another data point, I injected into the SharpDX MiniCube (DX11) sample and that worked. I also added print statements around the creation of the SharedKeyedmutex texture to make sure...
If you want to reproduce it, you can download Dota for free from Steam and then set the -DX11 launch option as described here: https://dota2.gamepedia.com/Launch_Options Is this something you're planning...
Cool thanks! Happy to test it out on Dota once it's ready
Seems to work! Thanks!
Hmm maybe have spoken too soon. It does manage to grab some screenshots in the beginning, but as time goes on it stops grabbing the screenshots (keeps getting null). It...
Also if I'm in Dota DX11 watching another game screen I see the following error: Debug: DXHookD3D10_1: PresentHook: Exeception: SharpDX.SharpDXException: HRESULT: [0x8876086C], Module: [SharpDX.Direct3D9], ApiCode: [D3DERR_INVALIDCALL/InvalidCall], Message: Unknown I believe...
Ok after a bunch of testing the screen capturing is definitely causing crashes. No reliable pattern to it so I'm not sure how to repro, but if I'm playing dota...