I’ve a quite simple program that works as a anti-cheat software to my gaming platform, coded in c# language.
It already takes screenshots and upload them to our server, however we have a problem that we need a solution for, and thats your job.
On some Windows Operative Systems (as far as I know: Windows Vista/7 With Hardware acceleration activated), when you try to take screenshots inside the counter-strike 1.6 game in opengl/full screen mod, the screenshot appears all black.
What I need from you is a solution that make it capable of take screenshot inside Counter-strike 1.6 game (Software/D3D/OpenGL) without that black screens problem.
It should be a fast process, to avoid problems for the players using the software when playing.
According to some friends, a possible solution to the problem is :
Write a C++ dll that is able to grab a screenshot of an opengl application and inject this dll into a opengl game (in that case, counter-strike 1.6 steam based) in full screen. Then integrate it on the C# program, and call the DLL. I believe that WglSwapBuffers is also a solution.
You’re the coder, please try to understand the problem and tell me the best solution for it.
I am able to run any test that you might need during the development.
I appreciate if you keep me updated during the time of this work, aswell as have a test version to make sure it works as should.
Since I’ve no coding experience, I’ll need that you integrate it on my current c# sofware, compile and make it able to distribute.
