creating an app launcher for exe as child process

Hello folks,

need some help,
I am fairly new to c++ and want to create an app launcher.

this is my situation:

I already have an exe app which do not have source and every time i run it, it cascades its position, kinda annoying since i run it several times to test its functions. the worse part is that this app has windows setting which lets me resize it, but if i resize the app to windowed mode to fit my screen size resolution , the next time i run it, it cascade the position and goes off my screen viewport, so i have to move it around and position it centered every single time.

been searching around and been suggested that the work around is to create a launcher app which launches the actual file executable as a child process and grabs its HWND.

That once I have done this that I should be able to muck around with the styles/position as I want.

I looked around to see if there is some sort of existing app that will let me create a launcher to achive this, but unfortunately could not find any.

so I am trying to see if I can create it myself from vs2008.

a little help will be much appreciated please.
some code example or links for existing ones


thank you in advanced.
Topic archived. No new replies allowed.