Skip to content


Brian Gianforcaro edited this page Aug 22, 2020 · 4 revisions
Clone this wiki locally


Demonstrates how to use the DetourCreateProcessWithDlls API to load a detour DLL into a new process without modifying the target application. Calls CreateProcess and loads a named DLL into the target process.

Note: The new process will fail to start if the target DLL does not contain a exported function with ordinal #1. For more information, see the DetourCreateProcessWithDlls API.

Source is located in the /samples/withdll directory.



DetourCreateProcessWithDlls .