Jump to content
  • Advertisement
Sign in to follow this  
denlecouscous

Get access to an external program's surface

This topic is 4611 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, We are currently trying to draw some directdraw surface on top of a surface belonging to another application, i.e. we want to draw something on screen when a full screen game is running. This is possible, to my knowledge, at least two programms are doing it : teamspeak overlay and XFire. After looking around for some weeks, we haven't find any solution. At this time, we are not highly skilled concerning directx stuffs, but if we can get a reference to the game's surface it should allow us to draw some overlay on top of it. In case you've got a hint (or maybe even better a solution ;-) ), you are really welcomed ! Thanks.

Share this post


Link to post
Share on other sites
Advertisement
AFAIK, there are two ways of doing this:

(1) Using DirectDraw, like you mentioned. I've never done this, but I know that Coder has. If he doesn't see this thread at some point, try PM'ing him about it. Searching may (or may not [crying]) turn up the thread I remember him stating that in.

(2) Using D3D, which many current overlay programs use. Check out this KBase article I wrote about it. Also, if you want working code, try finding the one for GTA: San Andreas - I've heard it does the same thing.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!