Once again, issues while trying to update ScriptUp. The main change is offloading all the child threads to a child thread. The sequence is: main script > offload thread > many child threads. I've tested running a DLL thread from a DLL thread and I recall it working before. I'm still using _MemoryLibrary for this task, which uses _Struct. Specifically, I get Error: CONTINUABLE EXCEPTION_ACCESS_VIOLATION, which also states the mouse/keyboard hooks are disabled, the exception thread id, and line where the exception was thrown. Respective to the _Struct file on its own, it's line 530, which is

I have not been using _MemoryLoadLibrary and _Struct for long now since it was build-in in _H long ago.
The error is for sure because of 0 pointer or error in _Struct, if you have a simple example I can take a look.

Btw. why are you not using AhkThread since you are using _H? Also there is Struct.

I haven't looked into _H's features, so I was simply trying to move what I already had over. If AhkThread is supported in the DLL's, I would agree that's a better way to go. Means I have to actually re-write it all from scratch though. I'll try it and see how it goes.

Raises hand I have a problem. The main script is still going to be _L, where the threads need to be ran from a thread created with a DLL. Seems like the DLL doesn't support AhkThread(), keeps saying that it's a non-existent function. Puts me back where I started. Based off the structure I'm going for, changing the main script to _H wouldn't make any difference, unless that somehow enables AhkThread() on the new thread?

Yes AhkThread() uses by default the dll which sits in exe resources.
Otherwise you can use the DllToUse parameter to load a different dll. So if you are using _L you will be always using this parameter.
Btw for AHK_H v1 there is no Title parameter:

Ahh, didn't realize ahkThread() was AHK code. Seems to work perfectly, thanks HotKeyIt! Now I can get back to work Doing it this way makes the worker thread significantly lighter, library wise, which is a huge plus as well. Less management on my part