Jump to content

how to put files to autoit


 Share

Recommended Posts

Hi. I made a script which is using 2 additional files. Can i add those files to my script and make 1 bigger file containing all files?

For example i have autoit.exe(and source of it ofcourse), program.exe and program.dll files. When i run autoit.exe it opens program.exe which is using program.dll. What i need to do is to pack program.exe and program.dll with autoit.exe so i can have only one file instead of 3. Those files are c# and c++ files. I have the source but have no idea how to convert it to autoit so i want to pack them together.

Link to comment
Share on other sites

But with this function after running my script it will unpack all the files to specified folder. I need to run this script without unpacking them but just runing program.exe and program.dll from my compiled script. Is this possible?

Link to comment
Share on other sites

But with this function after running my script it will unpack all the files to specified folder. I need to run this script without unpacking them but just runing program.exe and program.dll from my compiled script. Is this possible?

I believe the only way to achieve this is to replicate the functionality of your additional file in autoIt code.

Is there any particular reason that you don't want to unpack the dll to the directory and call the functions in it. You could always delete it every time the script exits if you don't want to leave it hanging around.

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winning."- Rick Cook

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...