Click here to Skip to main content
15,908,626 members

Comments by pillbug99 (Top 3 by date)

pillbug99 14-Jul-12 9:16am View    
No scripts or script plugins, sorry. And nothing in VB, although if you really want to work on something like this I'd suggest learning how to port C/C++ to VB, or in Delphi, which uses Pascal (or something similar), which is closer to VB in syntax. If you go to madshi.net, he makes a written in Delphi library that does both dll injection and api hooking, and I think he still might give it away to worthy non-commericial projects. He also has some pretty easy to understand writeups on how it all works, better than what you would get out of MS Detours for example. MS Detours also used to have premade exes, one of which was an "inject a dll into a process" tool, so that could be used in a script.

There's also a freely available COM based api hooking library at http://www.nektra.com/products/deviare-api-hook-windows/ that you could use from a VB app. The last time I looked at them they didn't have any dll injection though, but that's actually the easy part to do and there are plenty of examples available on the net, although probably all in C/C++.

And as Mr. Kreskowiak indicated, this is not a beginners project by any means. Although it's easy to conceptualize, it's pretty darn difficult to implement correctly in a generic manner. But it's also easy and not much code to get a simple solution going. As the saying goes, "the hard part is in the details."

pillbug99 13-Jul-12 12:14pm View    
AFAIK, launchers based on script-based installers like NSIS don't do anything beyond temporarily "installing" your app data so the app runs with your settings, and then undoing those changes once the app finishes. But it's definitely possible to go beyond that via plugins and fancier scripts.
pillbug99 13-Jul-12 12:14pm View    
Deleted
AFAIK, launchers based on script-based installers like NSIS don't do anything beyond temporarily "installing" your app data so the app runs with your settings, and then undoing those changes once the app finishes. But it's definitely possible to go beyond that via plugins and fancier scripts.