How to use autohotkey_H in C++

Ask for help, how to use AHK_H, etc.
stockstock
Posts: 6
Joined: 11 Mar 2022, 05:42
Contact:

How to use autohotkey_H in C++

29 Jun 2023, 01:15

I found the project of HotkeyIT on GitHub, and AutoHotkey_H master branch contains lib and exp files without header files or function names. I don't know how to use the AHKDll project either.
https://github.com/HotKeyIt/ahkdll


I also found AutoHotkey_H v1 project, but after extracting it, there are several DLL files without header files or function names. I tried testing it based on an example from an old forum post in 2015, but it was unsuccessful.
https://www.autohotkey.com/board/topic/96666-tutorial-c-and-autohotkey/
https://github.com/HotKeyIt/ahkdll-v1-release


I also looked for the DOC file and read it (https://hotkeyit.github.io/v1/docs/AutoHotkey.htm), but the examples inside were not written in C++. Could someone give me some guidance? Where can I find relevant materials on how to use AHK's functionality by calling autohotkey.dll in C++?


[Mod action: Moved topic from “Ask for Help (v1)” to this section dedicate to AHK_H.]
User avatar
boiler
Posts: 16978
Joined: 21 Dec 2014, 02:44

Re: How to use autohotkey_H in C++

29 Jun 2023, 03:43

You should be able to find the answers to your questions in the section of the forum that your thread was moved to, which is dedicated to AHK_H. Check both here in “Ask for Help” and in its parent forum.
guest3456
Posts: 3463
Joined: 09 Oct 2013, 10:31

Re: How to use autohotkey_H in C++

29 Jun 2023, 08:57

stockstock wrote:
29 Jun 2023, 01:15
I found the project of HotkeyIT on GitHub, and AutoHotkey_H master branch contains lib and exp files without header files or function names. I don't know how to use the AHKDll project either.
https://github.com/HotKeyIt/ahkdll
this is just the source code for the project
stockstock wrote:
29 Jun 2023, 01:15
I also found AutoHotkey_H v1 project, but after extracting it, there are several DLL files without header files or function names. I tried testing it based on an example from an old forum post in 2015, but it was unsuccessful.
https://www.autohotkey.com/board/topic/96666-tutorial-c-and-autohotkey/
https://github.com/HotKeyIt/ahkdll-v1-release
this is what you want in order to grab the .dll file that you would use to call functions from c++
what specifically didnt work when you tried to follow that old tutorial?
stockstock wrote:
29 Jun 2023, 01:15
I also looked for the DOC file and read it (https://hotkeyit.github.io/v1/docs/AutoHotkey.htm), but the examples inside were not written in C++. Could someone give me some guidance? Where can I find relevant materials on how to use AHK's functionality by calling autohotkey.dll in C++?
so yeah the docs are mostly geared towards using either the AHK_H.exe specific features, or calling the .dll from within AHK

you can find some of the docs for the .dll features here:
https://hotkeyit.github.io/v1/docs/AutoHotkeyDll.htm
and follow that section in the sidebar

here is another old post where HotKeyIt says where the .dll functions are defined:
https://www.autohotkey.com/boards/viewtopic.php?t=34779&p=160687


Return to “Ask for Help”

Who is online

Users browsing this forum: No registered users and 105 guests