Skip to content

SampleSetdll

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

Setdll

Add a DLL to the import table of any binary (a .DLL or .EXE for example). Use setdll.exe to attach one of the sample DLLs to an application .EXE file.

Note: The target binary will fail to load if the target DLL does not contain a exported function with ordinal #1. For more information, see the DetourBinaryEditImports API.

Source is located in the /samples/setdll directory.

Related Samples

Withdll.

Uses

DetourBinaryClose, DetourBinaryEditImports, DetourBinaryOpen, DetourBinaryResetImports, DetourBinaryWrite.

Clone this wiki locally