Jump to content

Recommended Posts

Posted (edited)

That's not how compiled executables work. They need to know how to call a function while running, and that includes a fixed location of the function. To be thread-safe the location (memory address) needs to be within the space allocated to the executable. 

I went down a similar path myself when trying to update a set of arrays without recompiling. The best I could do was read an *.ini file to populate the arrays.

If you want dynamic functionality, you have two choices that I see: 1) call shell scripts or other executables from within AutoIt (see Run, RunWait, ShellExecute and ShellExecuteWait functions), or 2) more ambitiously, create your own scripting language and write an interpreter that takes a file as input. 

Edited by quickbeam
Add shellexecute function calls
  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...