C++ - CreateRemoteThread DLL Injection [Windows 7]

后端 未结 1 398
遇见更好的自我
遇见更好的自我 2021-01-23 00:58

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

相关标签:
1条回答
  • 2021-01-23 01:44

    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"
    
    0 讨论(0)
提交回复
热议问题