This is just a simple injected hack loader for WoW. Includes support for pulling the install path from the registry, as well as a manual override by checking the path the loader resides in first (so you can use multiple install paths if you wish).
Posting because people always seem to ask me on MSN or on the forums how to inject a DLL.
Console application, written in C++. Only external dependency is the Windows SDK.
Code is fully documented and should be easy to modify to your liking.
Should support XP and up.
Not Unicode compatible, compile with MBCS. I got lazy, if you really need Unicode it's on you to fix (its only a 5 minute job, wrapping a handful of strings, and adding pre-processor code for a few STL objects and function prototypes).
By default it will compile with the CRT dynamically linked. If you need static linking just change that in the compiler settings. I suggest you do this if you want to use the loader for a public release as certain OS variations won't come with the CRT included.
Project and solution files are for VS2008 only. If you don't have VS2008 you can download VC++ Express 2008 for free from Microsoft, that will work just fine. Otherwise, if you wish to use 2005 or 2003 the onus is on you to fix the project files.
You can modify the module name in 'Main.cpp', was too lazy to write a build tool to pull it from an external source or something, but its an easy change to make.
Comments welcome. But intelligent questions/comments/etc only please.
Programming Windows via C/C++ - Code
Kynox - Being awesome
Greyman - Being awesome
Wiccaan - Patchlib. Can't remember if I used anything from it but its still a cool project.
All of GD - Being awesome
Probably stuff I forgot but w/e. Wrote it ages ago.