Wherever I look the method of injecting through CreateRemoteThread is the same, however the method of grabbing the process ID is not... My function will return the correct proce
I found the problem... I feel so stupid. Anyone with a similar problem: Instead of a relative path, use an absolute path.
I changed
#define DLL_NAME "injectme.dll"
To
#define DLL_NAME "C:\\Users\\Raikazu\\Documents\\Visual Studio 2012\\Projects\\Hooking\\Release\\injectme.dll"