Missing function in dll

Post AHK_H specific scripts & libraries and discuss the usage and development of HotKeyIt's fork/branch
coderasm
Posts: 2
Joined: 10 Aug 2020, 10:40

Missing function in dll

Post by coderasm » 10 Aug 2020, 11:11

I downloaded the binary release for version 2 from https://github.com/HotKeyIt/ahkdll-v2-release. When I run a script containing a call to AhkThread I get a function not found error. Is there a different api for the binary release? I tried compiling source on visual studio 2019, but that failed.

HotKeyIt
Posts: 2364
Joined: 29 Sep 2013, 18:35
Contact:

Re: Missing function in dll

Post by HotKeyIt » 10 Aug 2020, 14:10

When I download the release and create AutoHotkey.ahk in Win32w folder with following content, all works fine:

Code: Select all

ahk:=AhkThread("MsgBox 'From thread'")
Msgbox 'Main thread'

coderasm
Posts: 2
Joined: 10 Aug 2020, 10:40

Re: Missing function in dll

Post by coderasm » 10 Aug 2020, 16:55

Alright, I had to forcefully uninstall the original Autohotkey in order for Autohotkey_H's modified DLL to be used. And I see the syntax differs from the current version of original Autohotkey. I'm referring to the included chm file to update my scripts to your version of Autohotkey. Thank you for the help.

Post Reply

Return to “AutoHotkey_H”