ahkthread_free calls objects.Remove()?

Ask for help, how to use AHK_H, etc.
XphereOmega
Posts: 1
Joined: 19 May 2018, 06:59

ahkthread_free calls objects.Remove()?

19 May 2018, 07:26

Hi!
I've been using AHK v1 for years but totally new to AHK v2 and also to AHK_H.
I just downloaded AHK_H v2 packed master version and got the error by running the following simple script.

Code: [Select all] [Download] GeSHi © Codebox Plus

; main.ahk
sub1 := AhkThread("sub.ahk", "", "sub", true)
msgbox("done!")
AhkThread_free(sub1), sub1 := ""

; sub.ahk
msgbox("sub!")


error.png
error.png (18.4 KiB) Viewed 226 times



AFAIK, AHK v2 doesn't have Remove() method for object so that shouldn't be happened, right?
Do I need to do some setup first before using it or am I doing something wrong?
Any help is really appreciated.

Return to “Ask For Help”

Who is online

Users browsing this forum: No registered users and 1 guest