Class DllInjector to attach dll to process by processId or processName
const char * szProcessName - process name,
const char * szPathToDll - path to dll library
0 - all OK
1 - I can not find process by name
2 - I can not open process
3 - I can not alloc memory
4 - I can not write to memory
5 - I can not start thread
int ProcessID - process id,
const char * szPathToDll - path to dll library
const char * process_name - process name
std::vector with all founded process ids
DllInjector::inject("uTorrent.exe", "C:\\\\Users\\zero\\source\\repos\\DLL injector\\DLL injector\\test.dll");