some problems

Ask for help, how to use AHK_H, etc.
arcticir
Posts: 694
Joined: 17 Nov 2013, 11:32

some problems

06 Jun 2017, 21:19

I have recently encountered several problems:

1, MemoryLoadLibrary performance
Now it loads a ahk.dll, takes 4 milliseconds, can it be faster?

Code: Select all

FileRead,s,*c AutoHotkey.dll
t:=ahktime()
MemoryLoadLibrary(&s)
MsgBox % ahktime(t)
2, the function of the internal sub-label
If the function is running,
new mandatory thread appearss, such as RegisterCallback (), or a call from another thread, such as CriticalObject (func ("MemoryLoadLibrary"))
Function will be an error, suggesting that the function can not find the sub-label.

Code: Select all

test(){
	gosub,a
	return
	a:
	return
}

Return to “Ask for Help”

Who is online

Users browsing this forum: No registered users and 53 guests