Olish Posted July 16, 2006 Share Posted July 16, 2006 Hello everybody, is compiling AutoIt functions in a DLL instead of using AutoIt Scripts for calling them possible ? And does DllCall wait while using the DLL function is finished or can I launch several "DllCall" in the same time ? Thanks for your help. Olivier, from France. Olivier, from France.Free Wake On LAN script Link to comment Share on other sites More sharing options...
Zedna Posted July 16, 2006 Share Posted July 16, 2006 (edited) is compiling AutoIt functions in a DLL instead of using AutoIt Scripts for calling them possible ?NO this is not possible (compile AU3 to DLL)EDIT: but look at A3X feature maybe it's what you can use instead Edited July 16, 2006 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Developers Jos Posted July 16, 2006 Developers Share Posted July 16, 2006 Maybe it helps when you explain what you want to accomplish ..... SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Paulie Posted July 16, 2006 Share Posted July 16, 2006 (edited) Hello everybody,is compiling AutoIt functions in a DLL instead of using AutoIt Scripts for calling them possible ?And does DllCall wait while using the DLL function is finished or can I launch several "DllCall" in the same time ?Thanks for your help.Olivier, from France.If i'm understanding correctly, he wants to use dllcalls like #include Don't know how you'd make it work Edited July 16, 2006 by Paulie Link to comment Share on other sites More sharing options...
Olish Posted July 17, 2006 Author Share Posted July 17, 2006 If i'm understanding correctly, he wants to use dllcalls like #include Don't know how you'd make it work No what I want to do is : DllCall("myDLL", "myfunction"...) instead of : #include "myfunctions.au3" ... myfunc() Olivier, from France.Free Wake On LAN script Link to comment Share on other sites More sharing options...
Nomad Posted July 17, 2006 Share Posted July 17, 2006 No what I want to do is : DllCall("myDLL", "myfunction"...) instead of : #include "myfunctions.au3" ... myfunc()It's possible, but you'd have to write the dll in another language. So I don't really see the point in doing that, unless you have a very specific case in which AutoIt is either too slow to accomplish your goals (like a recent project of mine), or AutoIt simply isn't capable of performing the required task. Nomad Link to comment Share on other sites More sharing options...
Developers Jos Posted July 17, 2006 Developers Share Posted July 17, 2006 No what I want to do is : DllCall("myDLL", "myfunction"...) instead of : #include "myfunctions.au3" ... myfunc() The question remains why you want to do this ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
jvanegmond Posted July 17, 2006 Share Posted July 17, 2006 Yeah, sure it is. Write the DLL in C or whatever programming language you like. Compile it, then use a AutoIt's DLL call to that function. I've used it a little for testing. I was going to implement it into my 3D library because the Math's stress AutoIt a lot. But i haven't so i can't really send any examples. github.com/jvanegmond 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