Jump to content

keep '#include' au3 file editable after compiling main exe


pedrit0
 Share

Recommended Posts

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
Link to comment
Share on other sites

  • 2 weeks later...
On 10/20/2023 at 2:22 PM, ioa747 said:

here in this link you can find an example 209408-traytipgui-to-send-a-message-to-the-tray 

 How do I use in Example.au3 (which can also be compiled into Exe file),  and call the Tip() function from TrayTipGUI.au3  which is editable Autoit3 file
 

Nice, seem like what i m looking for. Many thanks.... i will give it a try.

Link to comment
Share on other sites

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
 Share

×
×
  • Create New...