I've downloaded source from https://github.com/HotKeyIt/ahkdll.
I've opened the project (and later recompiled) by following the steps in (https://autohotkey.com/boards/viewtopic.php?t=13373) thread.
I made changes to the password in script.cpp by changing the chars like g_default_pwd0 = 'A'; to g_default_pwd0 = 'j'; and recompiled.
Then I replaced my "Program Files/Autohotkey/Autohotkey.exe" with this new compile, and also copied this new compile and renamed it to "Program Files/Autohotkey/Compiler/Ahk2Exe.exe".
Here is the issue:
When I compile a script now, Ahk2Exe compiles just fine using the OLD 'AutoHotkey' password. If I change the the password field in Ahk2Exe (to anything, even the new password I made when I recompiled Autohotkey) it compiles but I get an error message:
I'm sure I replaced the AutoHotkey.exe and Ahk2Exe.exe files with my new compile.Error at line 0.
Line Text: PK�b��
Error: This line does not contain a recognized action.
The program will exit.