I am finishing up a small library to do DLL injection and ejection, the injection is easy, the ejection however I am having a bit of a problem.
The problem is that when I am using WriteProcessMemory() to write the base address (hModule) of the DLL I want to eject, I can only get a pointer to an ascii value of 0x10000000 ("10000000"). FreeLibrary() is expecting a direct value in this place, can anyone give me some love on how I would use WriteProcessMemory to directly write the value into memory instead of a pointer?







