This can be demonstrated by trying to compile the following program. This, of course will fail as the file to be included is nonsensical and does not exist, but the error msgbox shows the attempted replacements. (A_WinDir is included to show that the replacements are shown in the msgbox.)
Code: Select all
#include Version=+%A_AhkVersion%+ PtrSize=+%A_PtrSize%+ IsUnicode=+%A_IsUnicode%+ A_WinDir=+%A_WinDir%+
Please note that I have forked Ahk2Exe to TAC109 on GitHub, where I am working on the Compiler Directives enhancements in the Edge branch. I would have fixed this problem myself, but it looks rather complicated.
Thanks.