After sending it to RUNIE for testing he complained that his script breaks when he uses it on a specific object.
After some debugging I found out that AHK_H exits when I use a for loop on a Thread Object, more specifically when using a for-loop to access the .ahkgetvar field of the thread.
This is the code that makes AHK_H crash:
Code: Select all
Thread := AhkThread()
Msgbox incoming crash
Thread.ahkgetvar._NewEnum()
Msgbox crashed