🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

C# D3D Game Capture

Started by
2 comments, last by sirnilegard 4 years, 4 months ago

Hey,

I wan't to make an D3D Game Capture Program on C#.

I've already googled but I can't find a goood code.

Can anybody explain me,or give me some source?

I wan't to inject it in the game and capture screen from 60 to 60 secs (saving screenshots somewhere).

Thanks!!!

Advertisement

If you really want to simply take some screenshots from an application, you can do by obtaining the window handle of the window you want to capture and feed it to CreateCompatibleBitmap WINAPI function. If this dosen't work you haven't much chocies rather than using some thrid-party API or code a hardware-driver by your own.

But be aware that most games are protected against hooking into them for purposes of copy protection and anti-cheat

@shaarigan This will do as anticheat, I just wan't it in this way cus it's harder to get pass

This topic is closed to new replies.

Advertisement