Solved

Direct X screen shots capturing

Posted on 2006-10-31
3
529 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

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…
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…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

813 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now