Jump to content
Sign in to follow this  

Adding a new "pre-processor" directive...

Recommended Posts

Jon, what would be the best way to go about adding a new "pre-processor" directive? What I need is something like '#DLL "path\to\file.name"' If it finds that string, I can do the stuff I need to import the DLL's script functions into AutoIt.

Where would I add the code? Would it go in AutoIt_ScriptFile::Include()? Something similar to IncludeParse() maybe? The line continuation stuff in there has me a bit unsure of where to put this. :iamstupid:

By the way, I won't need the line after I've read it once, so it would be safe to just throw that line away, right?

Share this post

Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...