Newb Posted March 7, 2012 Share Posted March 7, 2012 I don't know if this is the right section. I'm trying to move on to C# after i learnt the basics with autoit, but I'm still much more confident with autoit which is mostly not object oriented (at least I think, I'm still noob to programming) and I would like to know if is possible to make some DLL with functions made in autoit which i can include and use freely in my C# programs. With this I mean (I need explanations, sorry) I do for example a function like this in autoit: Func Sum($a,$b) a+=b return a EndFunc and i want to export it to my C# program so i can call Sum(a, into my program. Is that possible, and if it is, How so? How to build the DLL and make it work togheter with my program? I don't know much about dlls and I'm not very expert in programming, so is this too much for me or it could be done easily? Thanks for the patience and move the topic if it isn't in the right section. I'm a compulsive poster. When I post something, come to read it at least 5 minutes later after the posting, because I will edit it. I edited even this signature a few minutes later after I wrote it. Link to comment Share on other sites More sharing options...
JohnOne Posted March 8, 2012 Share Posted March 8, 2012 You cannot make a dll from autoit script. You could however compile a script which has in it the functions you need. Pass the function name and any parameters to it via command line. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now