AHK Compiler <error>

Ask for help, how to use AHK_H, etc.
killmatt01
Posts: 20
Joined: 25 Mar 2021, 00:12
Contact:

Re: AHK Compiler <error>

Post by killmatt01 » 07 May 2021, 12:08

@HotKeyIt
64bit Unicode 1.1.33.2 for AHK_H
yeah i tried but when double clicked ahk2exe.exe it still gives me that error (illegal character)

william_ahk
Posts: 481
Joined: 03 Dec 2018, 20:02

Re: AHK Compiler <error>

Post by william_ahk » 24 Sep 2021, 08:18

@HotKeyIt Hi, I am having the same issue (checking compression results in The following variable name contains an illegal character:"?). It's a fresh copy of ahkdll-v1-release on GitHub. I launched Ahk2Exe.ahk with AutoHotkeyA.exe since there is no file named Ahk2Exe.exe in the compiler folder. What might be the issue?

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

Re: AHK Compiler <error>

Post by HotKeyIt » 24 Sep 2021, 17:44

I have updated Compiler and executables, also included AutoHotkeyA.exe and Ahk2Exe.exe (this must be Unicode version).
Please try again.

william_ahk
Posts: 481
Joined: 03 Dec 2018, 20:02

Re: AHK Compiler <error>

Post by william_ahk » 25 Sep 2021, 00:21

When I run Ahk2Exe.exe it still reports illegal character. Also tried launching Ahk2Exe.ahk with AutoHotkeyU.exe with the same error.
Ahk2Exe_2021-09-25.png
Ahk2Exe_2021-09-25.png (4.64 KiB) Viewed 2442 times
However I seem to have found the cause of the issue, when I change [Language for non-Unicode programs] to "English (United States)" everything is working.
rundll32_2021-09-25.png
rundll32_2021-09-25.png (6.41 KiB) Viewed 2442 times

thaos
Posts: 22
Joined: 18 Feb 2020, 02:38

Re: AHK Compiler <error>

Post by thaos » 12 Apr 2022, 16:34

I have the same issue occurring 'illegal character UInt' when executing ahk2exe.exe.
I also tried to run the script 'ahk2exe.ahk ' with many versions of autohotkey.exe, and I found that ahk2exe.ahk can be run normally with ansi versions of autohotkey.exe. With wide versions, not worked.
Since I am using Windows10 in unicode langage, I need to use the wide version.
I hope this information helps to fix ahk2exe.
I used autohotkey_h of version 1.1.33.10.

Post Reply

Return to “Ask for Help”