Inject a dll file to UWP
问题 I make simple a UWP app and a desktop app. This code inject the ConsoleApplication1.dll file to the desktop is normal, but I cannot inject to UWP app. I have two question : Why this code cannot inject to UWP app? and How fix it? This code inject a DLL file #include "pch.h" #include <vector> #include <string> #include <windows.h> #include <Tlhelp32.h> using std::vector; using std::string; int main(void) { while (true) { vector<string>processNames; PROCESSENTRY32 pe32; pe32.dwSize = sizeof