Jump to content

About #include


Recommended Posts

In most scrip's you see

#Include <GuiEdit.au3>
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <ListBoxConstants.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>

Now my question is how can I put them

with my program with out open source?..

Would i just build it all in one file or

file install or something like that?

would this be called Bundle.. im sure someone

here can help me out.

thanks -LibertyMan

Edited by LibertyMan
Link to comment
Share on other sites

Man I think that they are included in your script if you build it (.exe i mean), no need for you to copy those #include files in that person's comp , because they won't work if the don't have AutoIt installed :(

Edited by Spiider11
Link to comment
Share on other sites

I'm not entirely sure what you are asking...

If you wish to transmit your source code somewhere, and they don't have autoit installed, you would need to send the separate include files as well (although of what use are they without AutoIt?). Yes, you could cut-and-paste the contents of the include files directly into your source, and then be able to remove the include statements. Doing that creates problems down the road when newer releases of AutoIt come out.

If you only intend to send a compiled version of your script somewhere, you have no worries, as the include files are added to your source prior to the compile and are not needed later to run the executable. You can also run the Obfuscator step during the compile with the /SO option set, to remove the portions of the include files that are not referenced within your program. This can result in a much smaller .exe file.

typo

Edited by Spiff59
Link to comment
Share on other sites

When you compile they will all be in the single executable that created if thats what you mean.

GDIPlusDispose - A modified version of GDIPlus that auto disposes of its own objects before shutdown of the Dll using the same function Syntax as the original.EzMySql UDF - Use MySql Databases with autoit with syntax similar to SQLite UDF.
Link to comment
Share on other sites

If you compile your program, then a myproggy.exe will be created which you may distribute, sell, exchange... as a single block of standalone executable.

Edited by jchd

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

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...