AHK_H v2 code conflicts in master download

Post AHK_H specific scripts & libraries and discuss the usage and development of HotKeyIt's fork/branch
LBJ
Posts: 4
Joined: 10 Aug 2020, 04:22

AHK_H v2 code conflicts in master download

Post by LBJ » 14 Aug 2020, 20:08

G'day All,

This is a summary of my previous post at...

https://www.autohotkey.com/boards/viewtopic.php?p=346919&sid=0cf36b2d2420098fd035c9f717bcadc9#p346919

...reproduced here as its own thread only because I'm still seeing the same issue with the AHK_H master download.

Firstly, thank you very much for your work on this excellent project.

My results from just now on a clean system are...

1. download ahkdll-v2-release-master.zip
2. extract
3. copy x64w/AutoHotkey.exe to Compiler/Akh2Exe.exe
4. execute Ahk2Exe.exe
5. error...

Error in #inlude file
"U:\ahkdll-v2-release-master\Compiler\IconChanger.ahk":
Call to nonexistent function.

Specifically: VarSetCapacity(igh, 8), f.RawRead(igh, 6)

---> 015: VarSetCapacity(igh, 8), f.RawRead(igh, 6)

I believe the issue is a conflict between the versions of AutoHotkey.exe and the IconChanger.ahk script included in the current AHK_H release.

The packager appears to have missed the change in VarSetCapacity vs VarSetStrCapacity in V2 in the current release provided for download.

Best regards

LBJ
swagfag
Posts: 4135
Joined: 11 Jan 2017, 17:59

Re: AHK_H code conflicts in master download

Post by swagfag » 15 Aug 2020, 12:07

this is probably best to be addressed whenever the next merge is meant to happen. fixing it now for a110 seems like wasted effort, considering the magnitude of changes to come(unless there isnt going to be a next merge :silent: )
HotKeyIt
Posts: 2255
Joined: 29 Sep 2013, 18:35
Contact:

Re: AHK_H code conflicts in master download

Post by HotKeyIt » 15 Aug 2020, 15:39

Yes, that will be fixed in next merge, unfortunately don't have much time currently.
LBJ
Posts: 4
Joined: 10 Aug 2020, 04:22

Re: AHK_H code conflicts in master download

Post by LBJ » 15 Aug 2020, 20:05

HotKeyIt wrote:
15 Aug 2020, 15:39
Yes, that will be fixed in next merge, unfortunately don't have much time currently.

Sounds good. Thank you.

Best regards,

LBJ
murataygun
Posts: 42
Joined: 07 Aug 2015, 15:53

Re: AHK_H code conflicts in master download

Post by murataygun » 09 Nov 2020, 08:28

HotKeyIt wrote:
15 Aug 2020, 15:39
Yes, that will be fixed in next merge, unfortunately don't have much time currently.
Any news about the merge ?
SOTE
Posts: 1211
Joined: 15 Jun 2015, 06:21

Re: AHK_H code conflicts in master download

Post by SOTE » 09 Nov 2020, 09:30

@LBJ
There are AHK_H v1 and AHK_H v2. As this is a v2 problem, it should arguably be clarified in the title. Also, AutoHotkey v2 is alpha and experimental, so would be more of a moving target.
Post Reply

Return to “AutoHotkey_H”