Solved

Direct X screen shots capturing

Posted on 2006-10-31
3
530 Views
Last Modified: 2013-12-08
I'm trying to write a DirectX program that captures a screen shot that includes any graphics created by other DirectX programs, in particular those with overlays.  But I've read that EnumSurfaces only can find existing surfaces owned by my process - which seems to match my experience.  

Is there some way around this?  For example, has anyone tried injecting DirectX code into other processes?  Written a special video driver to access the video memory directly?   Are there obvious problems I should think about before embarking upon this?  

Thanx
0
Comment
Question by:bzwebcorp
3 Comments
 
LVL 18

Expert Comment

by:JoseParrot
ID: 17847270
Hi,

I don't see how to circumvect this.
DirectX is Microsoft propertary code. Graphics cards makers as ATI, Nvidia, MSI, etc, have their own drivers, so there are at least two black boxes in the way.
Even if we were able to read directly video memory content, we have nothing to do with it, because format, maping, way of rendering, are unknow to us.

Sounds that what you have discovered is the best we can do.

Jose
0
 
LVL 3

Accepted Solution

by:
OutsideTheBox earned 500 total points
ID: 17854477
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What is RenderMan: RenderMan is a not any particular piece of software. RenderMan is an industry standard, defining set of rules that any rendering software should use, to be RenderMan-compliant. Pixar's RenderMan is a flagship implementation of …
Recently, in one of the tech-blogs I usually read, I saw a post about the best-selling video games through history. The first place in the list is for the classic, extremely addictive Tetris. Well, a long time ago, in a galaxy far far away, I was…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question