With that tool you can change the screen resolution in windows using command line.

Example:"QRes.exe /x:800 /y:600" for 800x600

The idea would be to have that EXE somewhere in the project folder.:

On
start, check current resolution and store it.

Call the other stored resolution we had stored it in options menu or wherever (can be also a fixed resolution of course).

We send as arguments to that executable and change the resolution to whatever we want
(and it's supported by both GPU and screen).

Play the game / app.

Finally, on exit,
restore the original resolution before closing the app.

That's a solution I am going to apply to my current game (Vortex Attack), needed for some of the old hardware I'm taking to the fairs... The problem
will come whenever the app crashes or the user ALT-F4 (force quit) the app... Any ideas for
that? Is there any event we can use for those two?