Thanks to Chris Mallett, Lexikos, HotkeyIt, Titan, and the autohotkey community.
Features
Embed the autohotkey interpreter in another program such as python or lisp int ahkdll(char *fileName, char *option, char *parameter)
dynamically add #include files in the dll with addfile() _declspec(dllexport) int addFile(str file, uchar aAllowDuplicateInclude, uchar aIgnoreLoadFailure)
import new scripts or replace loaded script with import(file...)
Multithreading by loading multiple copies of the dll under different names. Also, see HotkeyIt's work