Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Direct X screen shots capturing

Posted on 2006-10-31
3
Medium Priority
?
538 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
2 Comments
 
LVL 18

Expert Comment

by:Jose Parrot
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 1500 total points
ID: 17854477
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Artificial Intelligence comes in many forms, and for game developers, Path-Finding is an important ability for making an NPC (Non-Playable Character) maneuver through terrain.  A* is a particularly easy way to approach it.  I’ll start with the algor…
As game developers, we quickly learn that Artificial Intelligence (AI) doesn’t need to be so tough.  To reference Space Ghost: “Moltar, I have a giant brain that is able to reduce any complex machine into a simple yes or no answer. (http://www.youtu…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…

805 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