Why is "MemoryLoadLibrary" so slow?

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

Why is "MemoryLoadLibrary" so slow?

14 Sep 2018, 07:24

Can it be as fast as "LoadLibrary"?

Code: Select all

dll:=fileread("AutoHotkey.dll","raw") ;Not in the calculation range


LoadLibrary("AutoHotkey.dll")   ;1 millisecond
MemoryLoadLibrary(&dll)         ;6 millisecond
HotKeyIt
Posts: 1705
Joined: 29 Sep 2013, 18:35
Contact:

Re: Why is "MemoryLoadLibrary" so slow?

14 Sep 2018, 16:22

It is most likely because of the hook, AFAIK this cannot be improved.

Return to “Ask For Help”

Who is online

Users browsing this forum: No registered users and 4 guests