See my [Example Extension project](https://github.com/Artikash/ExampleExtension) to see how to build an extension.
## Compiling
Before compiling *NextHooker*, you should get Visual Studio with CMake and ATL support, as well as Qt version 5.11<br>
You should then be able to simply open the folder in Visual Studio, and build. Run Build/NextHooker.exe
## Project Architecture
The GUI links to vnrhost.dll (created from the texthook folder) which injects vnrhook.dll (created from the vnrhook folder) into the target process and connects to it via 2 pipe files.<br>
vnrhost writes to hostPipe, vnrhook writes to hookPipe (duh?)<br>
vnrhook waits for the pipe to be connected, then injects a few instructions into any text outputting functions (e.g. TextOut, GetGlyphOutline) that cause their input to be sent through the pipe.<br>
Additional information about hooks is shared through a file view (a.k.a. section object) that is mapped to a reference to the Hook class.<br>
The text that vnrhost receives through the pipe is then processed a little before being dispatched back to the GUI and displayed.
## Contributing
All contributions are appreciated! Please email (akashmozumdar@gmail.com) me if you have any questions about the codebase, I know it's messy and undercommented. And no, I'm not busy!<br>
You should use the standard process of making a pull request (fork, branch, commit changes, make PR from your branch to my master).