• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 802
  • Last Modified:

DirectX instant swapping of game windows?

I've heard there is a way to hook directX so they can change the resolution, screen size, and location of any directX enabled game.

I am wondering how to do the same thing.

Would this be an easy thing to do, or something hard?   Or can it be done near "instantly" without directX?

A software I know of claims that they have near "instant" window swapping abilities.

Any Expert have any idea how to do this?


from website "An exclusive feature! Picture-in-Picture switching speed is instantaneous! Where our competitors simply change the size and position of each window, our software has the unique ability to speed up that process -- don't be fooled by FPS-dependent window swapping!"

I've heard they use directX hooking to do this... is it true?  How do you do it?
0
Eniledahs
Asked:
Eniledahs
  • 2
1 Solution
 
level9wizardCommented:
Eniledahs>>I've heard there is a way to hook directX so they can change the resolution, screen size, and location of any directX enabled game

If you find this way, I'd love to know it too!

The last I checked, each applications window param's/handles/classes could be completely different from the next. Even though a game is directx enabled (or better put: requires directx) doesn't necessarily mean its foundation is set entirely on the DirectX API's. In other words, a game requiring DirectX might only be resourcing some of the sound and controller interfaces, and have video and window run through Microsoft's Foundation Class (MFC) and some other graphics library.

So in short, there isn't a one-size-meets-all window hack/tool to modify things like resolution and window size - but if there is, please let me know too Experts!
0
 
level9wizardCommented:
Most individuals achieve this by developing their own window 'wrapper' that takes and makes calls to the program as an external. These types of programs generally require very application specific interfacing; for example, community members of the popular MMORPG Final Fantasy 11 have created a tailored window application to achieve such things as window size and resolution control as the native application's window controls are very limited [see: http://windower.net/]. I don't know if they share their sources - but it might be a good starting point for you.
0
 
EniledahsAuthor Commented:
I searched for something like "custom wrapper" or such on their website to see if I could find anything that would help.

It seems I've found something and now need to create a new question.

" Gone are the days of having to create custom "injectors" that only work for a specific game and are incompatible with other in-game tools. "

They have created a way to make a custom injector for each game they support!

Now to figure out how to do that...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now