Solved

Direct X screen shots capturing

Posted on 2006-10-31
3
531 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

733 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