I'm starting to work with API Hooking to create a launcher. Basically what I want to do is create a launcher that modifies the program at runtime to use my own rutines when it tries to read or write to the registry. So far I have been able to make a system wide hook which changes all the text outputed in windows to periods. So I know its possible. Currently im researching the registry api functions and trying to write code to intercept from only one program and only specific keys while letting everything else go through. I am programming this in PowerBasic. If anyone wants to help out just let me know and we can work together. Any idea inputs comments are gladly appreciated.
I did have a program for this under development in which all the the calls had been intercepted and I was just working on writing the entries to file. However this ground to a halt for a number of reasons. I have been looking at picking it up again but its written in C++ so I don't know how much I can help.
Yours
Steve Lamerton
The Liberta Project
Yes I think we might be able to work together then and figure it out. Even though I'm working on Basic most of the code is the same if your using standard win32api stuff. I will be working on something to simply spy on the registry stuff so I can tell what registry entries the program is accessing. Soon as I get that done I will post my work online. Even at that stage it should be usefull for those who need to know what the program is doing.
So what were some of the problems you ran into while developing your program?
I was expanding the system to read and write the entries to an INI file but I couldn't work out and easy way to convert then between the required types and then identify them. Shall we carry this discussion on by e-mail? You can contact me by using the link in my sig and going to the feedback page, a link to which can be found on the right of the page.
Yours
Steve Lamerton
The Liberta Project