I have an application that I have to run on windows. I need a method to observe and control the interactions this application makes with windows. I need to observe the calls it makes, and the inputs it receives from the OS and I only need to change some of its inputs to suit my needs. Actually the more important part is changing the input (which depends on the situation). I was wondering what would be a good way to approach this? Should I try to run the application on a partial virtual machine that runs the application for windows and passes along all calls made by the application to windows and returns the input from windows? Or does windows provide some sort of API to do this?
Share
Yes the simplest way to do it in my opinion is to use api-hooks and dll injection techniques. Check the book by Jeffrey Ritcher’s (Programming Applications for Microsoft Windows) I think – don’t remember exactly the name. Also check this
http://www.codeproject.com/KB/system/hooksys.aspx.
On linux you can use preload libs to do the same thing.