Closed A-VORONKIN closed 8 years ago
The AHKDLL will only load once using the .NET standard DLLCALL functions. For this project it means that it does not do multithreading and technically, even if you create multiple AutoHotkeyEngine it will still reference the same loaded AHKDLL.
I hear you can use multiple AppDomains or load the DLL multiple times manually to create mutlithreading.
Is it support Multithreading? I want check some variable with GetVar and do PixelSearch at the same time. I tried to create 2 ahk objects (
AutoHotkeyEngine ahk
for GetVar andAutoHotkeyEngine sahk
for ExecRaw (PixelSearch) but I still can`t use them at the same time).