EFileTahi-A
Contributor
- Joined
- Aug 8, 2004
- Location
- Portugal / Barreiro
I simply can't understand why this does not work...
It gives me an error when executing the second line of code. I've tryed using many different parameters but, always give me "Error-in-application".
Why is this happening?
Code:
Surface s = dxDevice.GetBackBuffer(0, 0, BackBufferType.Mono);
GraphicsStream gs = s.LockRectangle(LockFlags.ReadOnly);
It gives me an error when executing the second line of code. I've tryed using many different parameters but, always give me "Error-in-application".
Why is this happening?