How to inject a dll into a process?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
fabricio234
Posts: 122
Joined: 06 Mar 2020, 21:48

How to inject a dll into a process?

16 Jun 2022, 19:40

I compiled Microsoft Detours and included the lib into a DLL, im looking for a way to inject it into a process using an autohotkey script.
Windows 10, appreciate any help on this task!

DLL Source
Spoiler
fabricio234
Posts: 122
Joined: 06 Mar 2020, 21:48

Re: How to inject a dll into a process?

17 Jun 2022, 15:56

The link to InjectAhkDll() is offline, but i already had found this function in another link, it uses a lib of __struct that i could not find.
I didn't understand if her function was specific to the ahk dll or any dll, and as the topic is very old i doubt if it would work on currently ahk.
fabricio234
Posts: 122
Joined: 06 Mar 2020, 21:48

Re: How to inject a dll into a process?

19 Jun 2022, 06:34

Also tried this one from @jeeswg /@HotKeyIt
viewtopic.php?f=67&t=27047&start=20

But injecting with this script makes the process to crash

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Kodakku and 365 guests