Hello.
This example shows how to create ad manage several threads from a unique autoIt script with the help of an external dll.
I read many people saying it's not possible to have more than one thread in AutoIt. It's not true. We can do anything if we have a helper DLL to do the things we can't do within the autoIt script.
The example also shows how we can make the DLL and the AutoIt code comunicate between themselves.
The zip contains the full code (AutoIt and the C++ project). The script and the DLL are placed in the Release folder.
Feel free to modify and use in any project.
The VC++ project was created with Visual C++ Express 2010. It's free but requires an email registration.
I intend to post a tutorial on how to use your own helper DLL to improve performance and do the things you can't do with AutoIt.
I'ts cool having the AutoIt coding facilities and the power of a general language mixed altogether.
Enjoy! MT AutoIt.zip